Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is the cursor in use ?
Message
From
04/08/2008 15:22:23
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01336315
Message ID:
01336320
Views:
18
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform