Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing a parameter to the DE
Message
De
17/06/2003 22:56:27
Scott Butts
Ims Specialty Services
Twin Falls, Idaho, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Passing a parameter to the DE
Divers
Thread ID:
00801032
Message ID:
00801032
Vues:
42
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
Fil
Voir

Click here to load this message in the networking platform