I want to show the record index in my DbGrid,so I create a calculated field 'RecNo', in the OnCalcFields event is the code:
with DataSet do
FieldByName('RecNo').AsInteger := RecNo;
when the code execute, I get a lot of duplicate row in the grid. Have any other way to show the record index? and How?
my oracle: oracle 816 for windows;
doa version: for delphi5 3.4.3
thank you
with DataSet do
FieldByName('RecNo').AsInteger := RecNo;
when the code execute, I get a lot of duplicate row in the grid. Have any other way to show the record index? and How?
my oracle: oracle 816 for windows;
doa version: for delphi5 3.4.3
thank you