Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sharing tables inside DE between forms
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01237784
Message ID:
01237859
Vues:
21
>Lots of forms call this picker form and and I'm looking for a way to easily manage this task of reusing the tables.
>Assigning the 'Thisform.DataSessionId = _screen.ActiveForm.DataSessionId' in the form's init method fits perfectly and I don't have to change every single form.
>
>>>Hi Martina,
>>>
>>>I was thinking of trying this way today. Thanks for advice.
>>>
>>
>>Why you don't want to use default datasession to share parent's private DS? Or do you want to ensure using private DS in case there is no "caller" form?

Just make it Default Data Session and you don't have to change anything anywhere. It will automatically get the Caller form DataSession.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform