Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I add table(s) to the form DE at runtime
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00955199
Message ID:
00956281
Views:
14
Load event of the form is the first event. Cursors are not initialized. Try to put this code in BeforeOpenTables event of the DE.

>Hi Boris,
>
>i've tried your below code at form load event "setall" gives an error but strange its work with true tables :(
>
>
>*form load event code
>Local dbc_path
>Select datadir From pathcont Into Cursor CrsPathcont
>dbc_path=Alltrim(CrsPathcont.datadir) + "\data1.dbc"
>thisform.SetAll("database",dbc_path,"cursor")
>
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform