Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Going to a RecNo() that is no longer valid
Message
 
 
À
02/09/2008 11:39:52
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01344176
Message ID:
01344177
Vues:
20
This message has been marked as the solution to the initial question of the thread.
>I set m.RecNo to the current record number. Then a filter condition happens where that particular record number is no longer available. What is the best way to get to the next previous record number that is available? Or should I just do a LOCATE and not worry about it.

I think we had some code for this, but it was long ago and I don't have this code now.

Perhaps you can put goto statement in try/catch and do locate in catch block.
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