Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Write Cursor to a New Table
Message
 
 
To
12/02/2009 21:50:12
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01381481
Message ID:
01381501
Views:
36
Yes, you can specify database name with COPY TO command.

>Thanks!
>Checking the sintax of COPY TO command you can specify a Database Name
>and a Long Table Name.
>I didn't tried it yet but I believe that, if these options are specified you can use
>fields with more than 10 characters. I let you know later.
>
>>>Hi.
>>>I've imported data from an excel file into a Cursor created with CREAT CURSOR.
>>>I have loaded the cursor data into a grid for maintenance, where needed.
>>>Now I want to write the cursor into a table on disk.
>>>Is there a simple way to do that without using AFIELDS(cursorname) and then
>>>CREATE TABLE from array ?
>>>
>>>Thanks in advance!
>>
>>You can use COPY TO command but your fields should be no longer than 10 characters.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform