Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to add Tables dynamically to DataEnvironment
Message
 
À
03/10/2000 16:31:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00424345
Message ID:
00424432
Vues:
15
Jeff, thanks for your reply.
'Rolling your own DE' using the session class...
I dont follow this ...could you exapnd just a little,

Thanks,

Gerard



>Gerard,
>
>Instead of using the Form Designer to setup a DE, try rolling your own using the Session class. You can then set the form's DataSessionID to that of the session object at runtime.
>
>>I am trying to set up a Search screen as follows:
>>
>>- It will be modal
>>- The Search Table is a parameter in the calling screen
>>
>>I had it working (almost) with a Default data session but I now want the search screen to be in a Private data session. This means I need to include the file in the data Environment of the Search form.
>>I have the Table name (not the database name) as a propery of the calling form, and call the Search screen like:
>>Do Form Search With This.Form, so I can the access the Table Name in the Searching Form
>>
>>But I still need to actaully tell the data environemnt of the Search screen that I want to use this table. I dont have a clue how to do this as I noramlly use the Screen designer to set up the DE
>>
>>Any help appreciated.
>>Regards,
>>
>>Gerard
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform