General information
Category:
Forms & Form designer
>Hi everybody,
>
>I have a form with quite complicated DE. I now need to open different set of tables depending on some properties...
>
>Being lazy, I'm thinking, is there a way to "Auto-Generate" code to replicate this DE?
>
>Thanks in advance.
Hi Nadya,
in the DE's BeforeOpenTables event, you can change the .DATABASE and .CURSORSOURCE of the cursors to whatever it is that you need. You can use amembers(laDEObjects,this,2) to get all the cursor objects, etc.
enjoy,
Hank
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