Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Datasessions
Message
From
21/03/2007 18:31:00
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
01206843
Message ID:
01206847
Views:
23
>>Here's some theroetical questions just to further my understanding of how things work.
>>
>>1. When the application has multiple forms open and each form has a PRIVATE datasession, which datasession is in play when an external PRG is run? I would assume it would be the datasession associated with the form that was active when the PRG was called. Is that correct?
>
>Yes, in runs in form's DS.
>
>>2. What if the PRG is called from a menu selection in the main menu (_screen menu)?
>
>I had a problem when I was using form's manager. The program was using default DS of the manager class, which created it. It may very well be a case here.
>
>>3. Can a form have multiple datasessions?
>
>Unless you create some session based object in the form it should not.
>
>>4. Can a datasession be changed or a different datasession be selected in PRG code?
>>
>Yes. You can create a session based object or use SET DATASESSION command.
>
>>5. Is a datasession essentially the same as the dataenvironment? If not how do they differ?
>>
>I would say, they are essentially the same.

Thanks Naomi, that's helpful. What's form's manager?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform