General information
Category:
Forms & Form designer
>Let me get this straiight.
>
>I open a bunch of tables at the start of my app. These are supposed to be available throughout the app.
>
>I then run a form with a PDS which opens up another bunch of tables.
>
>Are the tables I opened at the start of the app still available to me from within the PDS? Or do I have to open them explicitly again within the PDS?
>
>Harry
You can use the Set DataSession command to access the tables that you opened in your default data session.
But, a better way to do this is to create a global class, or application class that you would talk to, and that class would talk to that data.
For example, lets say you have a Users file that you want to get info from. Just create a global users class (with a private data session) that opens the users files. Then, any class can access it and you don't have to be switching data session, which can get hairy.
BOb
Previous
Next
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