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

Canvas to QRBand problem

Status
Not open for further replies.

necmiz

Programmer
Jul 9, 2003
2
TR
Hello ,
I have a problem with quickreports.In my C++ Builder project i use quickreports in two ways, one using with canvas (QRPrinter->Canvas->TextOut....), other using QRBands (easy way). But, after i preview the canvas type, the QRBand can not be previewed, instead previous preview comes out. What is the problem and how can be solved , Please help me.
 
Months ago I had the same problem, but suddenly started to work perfectly. I didn't know why.

Try cleaning the QR, and start to add the components one by one and check how it will see (preview).
when things starts to fail u know what to do





---LastCyborg---
 
Thanks, i've solved the problem. I put Prepare() methot before Preview(). But there was still a bug. In my report on last page i disable a QRBand (PageFooter) in BeforePrint() methot of Summary band . After i run project and preview the report at second time, this band lost for all pages, not for the last one.So i enable this band before the preview and all my problems have gone.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top