Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

QuickReports qrlabel counting printed rows

Status
Not open for further replies.

Tony1l

Programmer
Dec 21, 2002
30
US
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!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top