Information générale
Catégorie:
Gestionnaire de rapports & Rapports
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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement