Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COPY TO .... up to current record?
Message
From
11/03/2005 12:59:33
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
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:
00994945
Views:
28
>>>Sergey's suggestion (in an earlier message) looked like this:
>>>
lnRecno = RECNO()
>>>GO TOP
>>>COPY TO ... WHILE RECNO() <> lnRecno
>>>
>>>and this works just fine, other than missing the current record. I can correct for this by doing a SKIP first.
>>
>>Simpler... while recno()<=lnRecno.
>
>Wouldn't work because table may not be in physiacl order.

Right. I think my other solution with a bit of execscript would solve for both the ordering and filtering... though your (with a skip) is obviously simpler.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform