Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
In negative territory...
Message
 
 
À
20/06/2006 12:07:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01130247
Message ID:
01130283
Vues:
19
>Actually, I'm not so much concerned about the recno() as I am about what happens when it gets into 'Out of range territory.' I'm using scan... endscan to perform calc's and I can't seem to keep it from going there, and once it's there, there's no way to get it back short of shutdown. Any ideas on that?
>The other thing I noticed is that while the debugger shows the record as a negative, the status bar shows the record as a positive. Why the dif?
>
>Luke

The status bar may show record in different table.

Are you sure you're using buffering 5 and not 3? Can you show the exact situation that gives you a problem?

I usually put this in all my GO to recNo statements
if between(m.lnRecno, 1, reccount('myTable'))
   go to m.lnRecno in myTable
endif
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform