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