Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Passing a parameter to the DE
I don't use the data environment much, so this might seem like a simple question, but here goes. I have some code in the DE of a form and I need to be able to pass a parameter to it from a calling form. Is this possible?
I have a parameter statement in the init of the form but the code there only gets executed after the DE executes, which is to late to have access to the parameter. I am trying to execute a select statement to create a cursor from a file whos location is determined by the value of this parameter. This cursor is used as the source for a grid class that requires that the grid exist when the init code is run. I am sure there is a way around this, I just don't know enough about using the data environment to figure it out.
Thanks for any help.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement