Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COPY TO and file in use
Message
De
05/03/2003 20:02:17
 
 
À
05/03/2003 19:47:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00761889
Message ID:
00761892
Vues:
24
This message has been marked as the solution to the initial question of the thread.
João,

COPY TO creates a new table. If csantos.dbf is already open, either on your workstation or another, COPY TO will fail...even if EXCLUSIVE is off.

>
>In form:dataenvironment a free table csantos.dbf exclusive=.F.
>In form:load SET EXCLUSIVE OFF
>
>When i run this code it gives me file in Use
>
>
>	lcAlias=LOWER(SYS(2015))
>	.Grid1.recordsource=''
>	.Grid1.ColumnCount=4
>	.Grid1.refresh()
>	
>	.RS2DBF(.oRS0,lcAlias)
>	select (lcalias)
>	
>	copy to csantos.dbf ---- ERROR HERE
>
>
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform