I have code like this in OnCalcFields event:
Code: Select all
DataSet.FieldByName('sspec_lp').AsInteger :=
DataSet.RecNo;
Without using this part of code everything is fine and looks like this:
It seems like passing RecNo value to some dataset field mess up dataset.
How can I solve it?