Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AutoCloseTables doesn't close the tables
Message
 
 
To
14/08/1998 00:31:14
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00126796
Message ID:
00126859
Views:
23
You need to have the data-environment open the tables for you. Specifically, you need to have cursor objects in the DE. If no cursor objects exist, AutoCloseTables will not work. So, remove the code from the Init() and add the cursor to the DE.


>I open the relevant tables reqd for a report in the Init event of the DataEnvironment. I have set AutoCloseTables to .T. Still the tables are left open after the report is output - I get "File in use" error when I try to re-run the report. ( I am running the REPORT FORM from a calling form.) Pl. help me find out whether I am missing something. TIA
Previous
Reply
Map
View

Click here to load this message in the networking platform