Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COPY TO .... up to current record?
Message
De
11/03/2005 12:59:33
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Divers
Thread ID:
00994688
Message ID:
00994945
Vues:
27
>>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform