Trying to do the impossible I think. Newbie question plz help !!!
Posted on 2003-03-11
In a DBGrid I display 2 fields (name and firstname) of a table. I want to have a third field in wich an X appears when I click the field (or disappears). That field does not appear in the tabel, I just use it at runtime in the DBGrid. It's for selecting records in the DBGrid. Afterwards I want to inspect the DBGrid and write the ID's of all seleced records in a new table.
I've tried with a calculated field, but every time I exit the row the X disappears. I tried with ClientDataSet, but since I have no experience at all with Delphi, I doen't really now how to begin.
I also tried just by adding in the DBGrid a new field, but when I try to overwrite the value I get an error.