Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Name of Temp File Created when Running a Report?
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00276719
Message ID:
00277583
Views:
36
>I realise that these temp files will be deleted when VFP quits, but my app generates some huge temp files (over 100 MB) and if a user runs say 10 reports it creates 1 GByte of test data in the same VFP session which is not desireable

Hi Russell,

As Fred mentioned, whenever cursors are closed, they are deleted from the drive. In your scenario, as long as you close the cursor that the report is generated from, the cursor is deleted and the disk space freed. If, however, you fail to close them, they'll remain until VFP shuts down. IMO, it's a bad idea to let VFP do this. Not only because of the disk space used, but the memory consumed by the cursor.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform