Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COPY TO .... up to current record?
Message
De
11/03/2005 13:06:58
 
 
À
11/03/2005 13:03:35
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:
00994956
Vues:
25
Aye but FOR doesn't care, not so? KMe off home now.

>Since the table is sorted, one must use WHILE, which works up to (but not including) the current record.
>
>>>>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... .
>>
>>I would have thought "FOR recno()<=lnRecno" ???
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform