Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COPY TO .... up to current record?
Message
 
 
To
10/03/2005 19:40:32
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
00994688
Message ID:
00994690
Views:
25
This message has been marked as the solution to the initial question of the thread.
Try
lnRecno = RECNO()
GO TOP
COPY TO ... WHILE RECNO() <> lnRecno
>How do I go about copying the current table using
COPY TO
to copy all records from the start of the file to the current record?
>
>Background:
>Current table may be a cursor or free table. As this need occurs in a general routine, I have no other information about the table (no unique keys, etc). I can't use SELECT, as there is most likely a FILTER on the table; the table is sorted as well.
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform