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

Pre-Printed Forms - Variable # Of Detail Records

Status
Not open for further replies.

MrBlackCat

Programmer
Jan 16, 2001
3
US
I have a pre-printed form that includes space for up to 10 line items (detail records). My problem is that when there is less or more than 10 records my field placement alignment after the detail line is messed up. Is there a way to place the detail record info into an array and then print it out on the page footer section?? Or maybe there is another method that would work just as well.. Any Ideas??
 
MrBlackCat: Your problem here is registration. To ensure that the group or page footer alsways print in the same place you need to ensure that the same number of lines print every time. The trick here is to define an additional 10 sub sections in Details and then suppress each in turn with a formula based upon the existence of a line of detail e.g. the first sub section may be suppressed if count(lineitems)<2, then next if count(lineitems)<3 and so on. David C. Monks
david.monks@chase-international.com
Accredited Seagate Enterprise Partner
 
Sometimes you can take the sections after details and use the setting:

Print at Bottom of Page


This will push a Group Footer for instance to the bottom of the page regardless of the number of details. Ken Hamady
Crystal Reports Training/Consulting and a
Quick Reference Guide to VB/Crystal (including ADO)
 
Thanks for the reply guys.. I will give it a try and let you know how successful I was.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top