Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File is in use
Message
From
15/04/2005 23:54:30
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
File is in use
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01005408
Message ID:
01005408
Views:
74
I've got a form with about a dozen radio buttons for executing all of my reports. In the data environment, all the necessary files have been placed.

The intent is to SELECT a table, copy the qualifying records to a file called Tempfile and then report. In abbreviated form, it goes something like this :

SELECT MAIN_TABLE
COPY TO TEMPFILE FOR . . . . .
USE
USE TEMPFILE EXCLUSIVE
REPLACE ALL FOR . . . .
REPORT FORM . . . .
SELECT TEMPFILE
USE

The problem is that when I click a different Radiobutton for another report, when it gets to "COPY TO TEMPFILE FOR . . . ." I get an error message that the file is already in use.

And by the way, thanks for all your help Serg!

Ruben
Next
Reply
Map
View

Click here to load this message in the networking platform