Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Datasessions
Message
From
21/03/2007 19:03:31
 
 
To
21/03/2007 18:13:52
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
01206843
Message ID:
01206851
Views:
14
>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?
>

Not, it is the datasession of the form.method that call the PRG.

>2. What if the PRG is called from a menu selection in the main menu (_screen menu)?
>

PRG run into the datasession 1.

>3. Can a form have multiple datasessions?
>

no.

>4. Can a datasession be changed or a different datasession be selected in PRG code?
>

yes.

>5. Is a datasession essentially the same as the dataenvironment? If not how do they differ?
>

no, a datasession is a workareas container ( not an object )
a dataenvironment is a object, and it's datasession can to be changed.

>Thanks
Previous
Reply
Map
View

Click here to load this message in the networking platform