Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record is out of range
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01173246
Message ID:
01173296
Vues:
7
This message has been marked as the solution to the initial question of the thread.
>Hi everybody,
>
>I have a table set in the particular order and then a
>
>I'm doing a SCAN on the table with some FOR and WHILE conditions.
>In the beginning on the scan I'm saving recno, then there are some calculations involving this table, then I restore order on this table and goto saved recno. I also update some fields in this table that don't participate in FOR/WHILE.
>
>I'm getting record is out of range on the ENDSCAN command.
>
>Do you know why I'n having this problem and how can I fix it?
>
>Thanks in advance.

Naomi,

Within a scan i would either

open the table being scanned as "AGAIN alias temp2" and sum in that

or

select sum() from (alias()) WHERE xyz=abc into array xxx

so as not to move the pointer

hth

Nigel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform