Link to home
Start Free TrialLog in
Avatar of dabestprogrammerindauniverse
dabestprogrammerindauniverse

asked on

QuickReport questions!

how do i force a new page in quickreport 3?

i have a blank quickreport on design time...then i create a single band (a title band) then i create QRLabels on the page...but when i had lots of data...they won't fit in one page altogether...so i want to put the other labels in another page...how do i do this? thanks in advance!
ASKER CERTIFIED SOLUTION
Avatar of Cesario Lababidi
Cesario Lababidi
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dabestprogrammerindauniverse
dabestprogrammerindauniverse

ASKER

but how do you do this on run time? i'll try it out too...thanks! :)
here's more info...
let's say my database search returned 5 results, then i want to make a report of those five results; how do i create 5 pages report (having the same format per page)during run time?
thanks in advance!
:)
Hi,

How do you make the search ????
The best way is to use a Query.

- Set quickrep.Dataset Property to Query1
- add a Title Band
- add a detail band with the Information form the Database
- Set ForceNewPage to True


Best Regards

Cesario

i did my search through a query component.  Multiple rows are returned...a row should be displayed on one page only.  If there are 5 rows returned, then there should be 5 pages.
thanks!
:)
can you post me your code ( ceslab@aol.com )

Best Regards

Cesario
i followed these steps you gave me...but instead of doing them during design time, i made them programmatically and during runtime. thanks!
:)


3- Drop a QrBand ( rpTitle )
4- Drop a QrLabel on the your Title qrBand
5- Set to HasChild Property to True

Now you will see a new ChildBank on Your Screen

6- Select this Band
7- Set the ForceNewPage to True
8- Drop Some Label

New you will see 2 Pages in the quickreport Preview.

you can add a new ChildBand if you whant
- Select the Child Band
- Set the HasChild Property to True