Need a suggestion for Quickreports labeling rows. I'm printing a simple form with a few qrDBtext labels generated from a recordset of a SQL ADOquery. Printing this information straight out is easy but I'm needing to add a sequential number or row number.
trying to achieve
1 qrDBtext1 qrDbtext2 qrDBtext3
2 qrDBtext1...
Except sub the Database text with my returned recordset.
I've tried setting a global variable X and inc(X) when rows print but the qrLable1 caption doesn't increment and doesn't error.
qrLabel1.caption:=IntToStr(X); //?
I know there's must be several simple ways to do this.
I appreciate any help. I haven't been programming with Delphi for very long but loving it!
trying to achieve
1 qrDBtext1 qrDbtext2 qrDBtext3
2 qrDBtext1...
Except sub the Database text with my returned recordset.
I've tried setting a global variable X and inc(X) when rows print but the qrLable1 caption doesn't increment and doesn't error.
qrLabel1.caption:=IntToStr(X); //?
I know there's must be several simple ways to do this.
I appreciate any help. I haven't been programming with Delphi for very long but loving it!