Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sharing tables inside DE between forms
Message
De
05/07/2007 08:30:02
 
 
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:
01237885
Vues:
17
Hello Naomi,

Thanks for explaination but for some reason (don't know exactly why) it doesn't work.
I'll assign the parent's DataSessionId in the init method and the problem is solved (hopefully).

This is the first time I have to deal with DE therefore I'm not that familiar with it - thanks for all your help.

>Robert,
>
>The only form you were needed to change was the Lookup form, where instead of Private DS you would use Default DS (set it in design-time).
>
>Here is how it works:
>Parent form has a private DS
>Child form (called by parent) has Default DS
>
>Thus child form automatically shares parent's DS. No manipulation with DS is required.
>
>I believe this idea was initially introduced by John Koziol 7 or more years ago.
>
>
>>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?
robert.oh.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform