retrieving Record-Number


2005-01-12 04:02:13 PM
cppbuilder108
Hello,
how can I retrieve the record-no. of the currently selected dataset (this
means a kind of row-index) of a TDBGrid.
When I use "pDBGrid->SelectedField->DataSet->RecNo" I just get "-1" (this is
also what the help say abouut TDataSet::RecNo). But I think there must be a
possibility to obtain this. Anyone an idea?
Thanks, Uli.