Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1389
  • Last Modified:

Syntax requires for New Page after in crystal report

Hi experts,
                      I am preparing a report in which I have a group information displayed in a box. I want to start new page after every box.
                 For that I checked the check box for New page after for that detail section.
                 It is producing the new page after every box.
                But when the last box printed it generates another blank page after that box.
               
               So I am trying to put the condition for "new page after" that if the number of that box is 11 than it will not produce new page.(I have the number for each box as a field of report)

                As I dont know the syntax for "new page after" I am not able to perform this.
             
                Please provide the right syntax for it .
       
             Thanks.
0
navtarainc
Asked:
navtarainc
  • 3
1 Solution
 
peter57rCommented:
You use the conditional format button for NewPageAfter setting in the section expert for the detail section and set a condition like:

{table.field}<>11

(I'm not sure what you mean by 'box is 11' - I am assuming it is a field value)
0
 
navtaraincAuthor Commented:
I got the solution from http://forums.asp.net/p/678138/680014.aspx#680014 
 Have used

if onlastpage then
true
else
false

But thanx for ur help Peter57r
0
 
navtaraincAuthor Commented:
sorry typing mistake

used this
 
if onlastrecord then
true
else
false
0
 
navtaraincAuthor Commented:
can any one please delete this question as I dont know how to delete this
0
 
Computer101Commented:
PAQed with points refunded (500)

Computer101
EE Admin
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now