Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple forms - one data environment
Message
From
04/10/2008 16:45:31
Scott Malinowski
Arizona Fox Software LLC
Arizona, United States
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01352794
Message ID:
01352798
Views:
28
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform