Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crystal Reports datafiles remain locked until VFP ends
Message
From
07/04/1998 16:34:24
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
 
 
To
07/04/1998 15:07:42
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00090236
Message ID:
00090278
Views:
18
>I realized that when I print a report trough the CR OCX, the datafiles (native DBFs) used in the report (not the ODBC data), remain owned by the application after report finishes, until I close VFP (not just the form). You can see this fact if you try to change the name or delete the file while the application is up.
>With ODBC data, the files are released inmediately when the printing finishes or you close the preview window.
>I need to delete the files after printing as they are temporary files and the VFP application must continue running. I can't use odbc for this files, as they are independent and can't be linked to the other databases I use trough ODBC.
>I'm using VFP 5.0a and CRW 6.
>Could someone give me any help?

I had the same problem. The way I got around it was to remove the Crystal OCX after each report and re-create it before the next one.
Elyse Pomerantz
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform