We help IT Professionals succeed at work.

DBGrid

aqk139
aqk139 asked
on
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?
Comment
Watch Question

Software Tead Lead / Business Analyst / System Analyst / Data Engineer
CERTIFIED EXPERT
Commented:
Hi,

What data source control are you using? Adodc Data Control, Data Control, or..?

Try to use the 'Bookmark' Property on those data control to store the row information..
TimCotteeHead of Software Services
CERTIFIED EXPERT

Commented:
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.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.