Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pass datasession to another form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00949759
Message ID:
00950087
Vues:
16
>João,
>
>>Hi have the DataSession to default. Any other guess.
>
>If your two forms are set up the way you say then the datasession is there. You may need to 'activate' it by placing a SELECT statement for the main table in your Load() or Init() event.
>
>I've found that making one of the tables 'active' in that way makes everything wake up and start acting like it is supposed to.
>
>There is one catch, though. Say you have three forms that start out, the first starts the second, and the second starts the third. The third form in the chain won't be able to inherit the private datasession of the first.

Sure looks like it works to me. No extra code needed in the Load of 2nd or 3rd forms, either.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform