General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only