Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File is part of a database
Message
From
10/03/1999 18:01:09
 
 
To
10/03/1999 17:23:22
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00196114
Message ID:
00196130
Views:
30
>I have the following line of code in a prg:
>
>select invmain
>copy to myfile.txt
>
>The first run through, it works great.
>
>Subsequent runs, I get an error stating that myfile.txt is part of a database. Is this even possible? What am I doing wrong?
>

Try adding the FREE clause to the COPY TO

Are you really creating a .DBF, or do you want to emit a text file? If you're trying to emit a text file rather than a .DBF, you might want to use the TYPE SDF or DELIMITED clauses.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform