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

Force new Line

Status
Not open for further replies.

jmnewbie

Programmer
Dec 17, 2003
5
US
I'm very new to Crystal Reports. I have this report where page one has to display 20 lines, even if there are only 6 lines returned from the db. All other pages have to show 28 lines. I've read where I can use the ReplicateString function to print a new line. I don't where to put the equation or formula. I've tried putting it in a number of different sections, but I get an error that says it can't used because it "must be evaluated later". That or needs to be a boolean expression. Or something like that.
 
I have an invoice form that has a graphic grid in the middle of the page and the detail lines have to fit exactly in that grid continuing on to the next page if necessary.

I added a line count variable that is incremented by 1 whileprintingrecords.

Then in the detail section that the grid is in, I have a formula behind the newpageafter option of the section that
checks the line count variable > 21 (the number of lines in the grid).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top