Solved

QReport bands...

Posted on 1998-12-11
3
1,349 Views
Last Modified: 2012-06-27
I have Quick report with:
- Title band
- ColumnHeader band
- Detail band
- Summary band
- Footer band
Title band is printed only on first page, Columnheader band on every page ONCE, Detail band is band on wich all data from table is printed to. Summary and Footer band are printed only on last page....
Iif Detail band have no place on the first page it's printed on second along with Column header band. This is O.K., but it's not pleases me, so i try to take last record from Detail band and print it on second page with Summary band. This worked with NewPage command, but ColumnHeader band is not printed.


For 150 points how could i print ColumnHeader band on next page after breaking Quick Report with NEWPAGE command?


On  Collumn header is static text so it could be anything...(as long as it workes :-)  )
0
Comment
Question by:rpetruni
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
ZifNab earned 150 total points
ID: 1350715
Hi rpetruni,

Which version are you using? QR 2.0k? QR3.0?
Are you using the latest version?

What about this :

use a child band on the page header band as the band to show your static text, instead of your column header.

Regards, Zif.
0
 
LVL 1

Author Comment

by:rpetruni
ID: 1350716
Hi ZifNab,
sorry i forgot to say... 2.0...
Yes it could please me - i was trying to do that before, but i was allways makeing the same mistake in code:
if FakturaReport1.RecordNumber=xx  then
     begin
          FakturaReport1.NewPage;
          QRBand6.Enabled:=true;  //PageHeader band
   end;
and now after your posting i realise my stuppidity, so i fix this line:
if FakturaReport1.RecordNumber=xx  then
     begin
            QRBand6.Enabled:=true;
            FakturaReport1.NewPage;
   end;
So, i will give you those 150 points...
Thanks :-)


0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1350717
that are easy points :-) Thanks. Glad your problem is solved.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question