pr_wainwright
asked on
dbase record numbers in Quick Report
I have a database application written using Topaz for Delphi (database engine). On the preview of some reports i require the record number to be displayed for each record in the report.
I can not seem to find a way of achieving this. The QRSysData component does not show the actual record number but just numbers the records sequentially. I require the 'Table1.RecNo' value for each of the records in the report.
Thanks Paul.
I can not seem to find a way of achieving this. The QRSysData component does not show the actual record number but just numbers the records sequentially. I require the 'Table1.RecNo' value for each of the records in the report.
Thanks Paul.
Hi Paul,
you can drop TQRLabel onto your report and write QRLabel.OnPrint event:
....
begin
Value:=IntToStr(Table1.Rec No);
end;
----
Igor.
you can drop TQRLabel onto your report and write QRLabel.OnPrint event:
....
begin
Value:=IntToStr(Table1.Rec
end;
----
Igor.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ITugay's answer is exactly what i was looking for.
Thanks Paul.
Thanks Paul.
ASKER
Right first time. Not bad considering i am terrible at explaining what i am trying to achieve in my questions !.
Thanks Paul.
Thanks Paul.
I am not Paul, I am Ivan
procedure TForm1.Table1CalcFields(Da
begin
Table1RN.AsInteger:=Table1
end;