Главная страница | назад





Article #28467: How do you display the current line number of a selected record in a DBGrid?

QUESTION:


How do you display the current line number of a selected record in a DBGrid?


ANSWER:


Substitute the Table1 component for whatever dataset you are using to provide data to your DBGrid.

ShowMessage(IntToStr(Table1.RecNo));

Last Modified: 28-FEB-02