It seems that TOracleDataSet.RecNo works incorrectly in some situations. I have a calculated field (say, 'RecNo') and OnCalcFields event handler like:
OracleDataSet.FieldByName('RecNo').AsInteger := OracleDataSet.RecNo;
Right after dataset opening the RecNo field in TDBGrid looks like a column filled with '1'. While scrolling the grid down values strangely became normal, but simple movement to the end of recordset and then back to the beginning (DataSet.Last, DataSet.First) brings us to the '1'-filled column.
'select rownum, ...' will not help because of 'order by' clause.
Oracle 8i EE, Delphi 5, DOA 3.4.6.1
Have you some suggestion what could be wrong? Thank you for support.
P.S. I've sent a message to support@allroundautomations.nl about a week ago, but still got no responce regardless to my yearly service contract.
OracleDataSet.FieldByName('RecNo').AsInteger := OracleDataSet.RecNo;
Right after dataset opening the RecNo field in TDBGrid looks like a column filled with '1'. While scrolling the grid down values strangely became normal, but simple movement to the end of recordset and then back to the beginning (DataSet.Last, DataSet.First) brings us to the '1'-filled column.
'select rownum, ...' will not help because of 'order by' clause.
Oracle 8i EE, Delphi 5, DOA 3.4.6.1
Have you some suggestion what could be wrong? Thank you for support.
P.S. I've sent a message to support@allroundautomations.nl about a week ago, but still got no responce regardless to my yearly service contract.