Subject Need help to find out the current selection of an IB_Grid
Author Jeroen W. Pluimers (All I'M)
I have an application where I want to copy data between two grids.
However, that is only possible when a record is selected in a grid.

How can I find out if that is the case?

Right now, I have a clumsy solution that assumes if no record is selected,
all the fields (including primary key) are NULL:


function TVaardigheidSoortDataModule.IsVaardigheidNiveauAvailable: Boolean;
begin
Result := not VaardigheidNiveauIB_Query.FieldByName('ID').IsNull;
end;


Jeroen W. Pluimers
All Information Management
http://www.all-im.com