×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

report content spans more than one page

report content spans more than one page

report content spans more than one page

(OP)
Hi,
I have to make a report which content spans more than one page. Not the data which cannot fit on one page, the content is spread over two pages. I believed that the reportwriter would break the content when reaching the bottom page and continue on the next. However VFP is obstructing / erroring: Detail band 2 is too large to fit on page. Which is not true since the detail band consists of 2 records only. Is there an instruction/command to start detail band 2 on a new page?
Regards,
Koen

RE: report content spans more than one page

(OP)
Mike,

Thank you.

Koen

RE: report content spans more than one page

When there only was one detail, the simple rule was: Pagebreaks can occur after each detailband print, after each record. Only when even a single record/detail bands couldn't be printed on the current page, ie. it started too low or was higher than the design layout as some fields stretch with overflow, you would get a page break and that could also only cover cases, where this pagebreak gained enough place, ie the header was not repeated per page, there is no page header that puts any detail band so late, that it won'r match anyway. And only in thise circumstances you got an error.

I think there also was a bug only fixed in VFP SP2 about the influence of a summary or footer band, the space for it was reserved, even if it was not printed/only printed on the last page of the report, that was a bummer.

Multiple detail bands complicte the situation about what space is needed, I don't know the exact rules about splitting this into pages.

Anway, if starting bankds on a new page wouldn't help, managing narrower title/summary or header/footer could also have helped for future reference and for anyone in a similar, yet not exactly same situiation.

Bye, Olaf.

Olaf Doschke Software Engineering
https://www.doschke.name

RE: report content spans more than one page

(OP)
Olaf,

Interesting.

Regards,

Koen

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close