Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple forms - one data environment
Message
De
04/10/2008 16:45:31
Scott Malinowski
Arizona Fox Software LLC
Arizona, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01352794
Message ID:
01352798
Vues:
27
>>Greetings!
>>
>>We are designing what we call a "wizard" in our VFP9 application. The wizard is really a set of processing steps that requires the user to complete each step before we actually save the data.
>>
>>We can not use the default data session, since at any given point in time, the user session can have multiple wizards open and processing.
>>
>>We have looked at formsets, but what I read about them here on UT, it appears that may be a big mistake. Even though, formsets allow for sharing a single data session, which is what we want for transactional purposes.
>>
>>The other option is to have a top level form with a private data session and then to somehow make all forms that are instantiated inside that top level form use the top level form's data session. Any ideas on how to do that?
>>
>>Any thoughts or ideas on this issue will be appreciated very much!
>>
>>TIA,
>>
>>Scott M.
>
>Make the first form with Private datasession and the all child forms let use Default datasession.
>There is no need first form to be top level form.

Borislav,

Thanks for the reply. As long as the child forms are not using the ACTUAL default datasession, then life would be good. We use a lot of top level forms because users have multiple monitors and want to be able to move top level forms all over the place. Works for them so that's what we are giving them.

Thanks again,

Scott M.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform