Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing a private data session from another form
Message
De
23/06/1999 07:43:53
Kenneth Downs
Secure Data Software, Inc.
New York, États-Unis
 
 
À
22/06/1999 19:08:15
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00232540
Message ID:
00232877
Vues:
25
>>James,
>>
>>ThisForm.DatasessionId = loFormA.DataSessionID
>>
>>or:
>>
>>SET DATASESSION TO (loFormA.DataSessionID)
>
>I've just discovered that if I do that, my form's grid loses RecordSource. Take care of that.

That's because the recordsource no longer exists -- you are now in a different datasession. You want to set the datasession before the grid initializes, such as in the LOAD method.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform