Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replicate DE in form's Load
Message
From
08/11/2002 10:54:55
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00720031
Message ID:
00720305
Views:
12
This message has been marked as the solution to the initial question of the thread.
>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
Map
View

Click here to load this message in the networking platform