General information
Category:
Coding, syntax & commands
Title:
How to add Tables dynamically to DataEnvironment
I am trying to set up a Search screen as follows:
- It will be modal
- The Search Table is a parameter in the calling screen
I had it working (almost) with a Default data session but I now want the search screen to be in a Private data session. This means I need to include the file in the data Environment of the Search form.
I have the Table name (not the database name) as a propery of the calling form, and call the Search screen like:
Do Form Search With This.Form, so I can the access the Table Name in the Searching Form
But I still need to actaully tell the data environemnt of the Search screen that I want to use this table. I dont have a clue how to do this as I noramlly use the Screen designer to set up the DE
Any help appreciated.
Regards,
Gerard
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