Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is the cursor in use ?
Message
De
04/08/2008 15:22:23
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01336315
Message ID:
01336320
Vues:
17
This message has been marked as a message which has helped to the initial question of the thread.
>SET SAFETY OFF
>COPY FILE (anxFullPth) TO "DADOS\ENVIO.DBF"
>SET SAFETY ON
>
>I have I message "file is in use"
>
>Can this be because the envio.DBF is a cursor of my form ?
>If so, is it possible to disable de cursor of the form, and then enable it again ?
SET SAFETY OFF
Use in select('envio')
COPY FILE (anxFullPth) TO "DADOS\ENVIO.DBF"
SET SAFETY ON

NB! You should always give cursors names which makes it easy for you to distinguish them from tables, for instance curEnvio.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform