Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File is in use
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
File is in use
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01005408
Message ID:
01005408
Vues:
73
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform