Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Xbase commands Vrs Sql commands
Message
From
10/05/2005 11:01:02
 
 
To
09/05/2005 09:35:28
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 6 SP5
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01011885
Message ID:
01012448
Views:
20
>SELECT * FROM mytable INTO CURSOR mycursor NOFILTER

>create cursor mycursor (field definitions)
>APPEND FROM mytable

If you compare these two versions, the question is, why copy the whole dataset to a cursor anyway? You could work with the table itself then. An alternative may also be CREATE DATABASE mylocaldatabase and COPY TO ... DATABASE ... optionally even with indexes: WITH CDX. And you don't need a (temporary) local database when only using short field names and copying to a free table.

Bye, Olaf.
Previous
Reply
Map
View

Click here to load this message in the networking platform