Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access to dataenvironment openTables
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00106261
Message ID:
00106296
Views:
24
>Does anyone know how to get access to the openTables event in the dataenvironment.
>
>I have a form that works fine, but at one point I want to run a second form, which contains reports. When the second form closes it closes the tables in both form (even though I have private datasessions on both forms - I think it is the report causing me problems) anyway, when I return to the 1st form, if I could call openTables again somehow then I would be all set.
>
>I can make a workaround, but it is alot of extra code, there are about 15 tables, views, relations set, buffering etc that I would have to take care of.
>
>Thanks in advance.

Are you sure you have turned the Private Data Session in the Report also ?

The OpenTables() method will open up all tables and views in the DataEnvironment. Therefore, you need to be sure that all tables, views, etc you intend to open are closed prior to call OpenTables(). Why not issuing a CloseTables() before ?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform