General information
Category:
Coding, syntax & commands
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)
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only