General information
Category:
Reports & Report designer
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
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