davidchardonnet
Programmer
Hello,
I am trying to get the index of the selected row in a TDBGrid linked to a database, so that I can get the selected data in my own variables for an update. But I can't figure out how to do this because the DBGrid1.SelectedRows.Count is always 0, even when I have something selected...
And SelectedRows is always empty...
The DBGrid has the dgRowSelect Option set to true.
Do you know how I can do this?
Thank you very much
David
I am trying to get the index of the selected row in a TDBGrid linked to a database, so that I can get the selected data in my own variables for an update. But I can't figure out how to do this because the DBGrid1.SelectedRows.Count is always 0, even when I have something selected...
And SelectedRows is always empty...
The DBGrid has the dgRowSelect Option set to true.
Do you know how I can do this?
Thank you very much
David