Link to home
Start Free TrialLog in
Avatar of aqk139
aqk139

asked on

DBGrid

I am using DBgrid control. I want to jump to specific record in my DBGrid. Also I need to store row bookmark for future refernce to return back to that row. How to do this?
ASKER CERTIFIED SOLUTION
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Presumambly with the DBGrid, you are using the intrinsic data control. As ryancys says, store the Data1.Bookmark value in a variant before moving and then move to the new record, either with a Data1.Recordset.Move n or with a .FindFirst etc. Then you can return by setting the .Bookmark property back to the variant you stored earlier.