Information générale
Catégorie:
Codage, syntaxe et commandes
as to the question of finding a record among thousands, making the found record the top row is pretty much the standard I've seen.
For the 2 record problem (or # of total records < grid "height"), IIRC showing the grid prior to moving the record should show all the records. Don't know which version of VFP you are using but something like:
go top
seek cLook4
or
seek cLook4
nRec = recno()
go top
oForm.oGrid.setfocus()
go (nRec)
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement