Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid ActiveRow and RelativeRow ??
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00953117
Message ID:
00953375
Views:
11
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
Map
View

Click here to load this message in the networking platform