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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Generating a new page in QuickReports

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
0
0
Hi,
I am building a report using Delphi3 and Quick Reports2.0. My application reads a list of labels from a text file and puts them in a report that has 13 lines and 5 columns. The problem is that when I have more than 65 labels in the text file, I can´t generate a new page in the report to place the rest of the labels. I've tried to call the NewPage procedure from the report, but a runtime exception is raised. What should I do?
Thanks,
Adriano
 
Hi,

are you using a detail band. If not it willnot produce a next page

Steph [bigglasses]
 
Place only one line with 5 columns on a Detailband (5 Labels)
Use the OnNeedData event for every line from the textfile to set the 5 QRLabels caption (value).
Look at the helpfile for using OnNeedData. There is a good example.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top