?
Solved

Syntax requires for New Page after in crystal report

Posted on 2007-11-19
7
Medium Priority
?
1,385 Views
Last Modified: 2013-11-26
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
Comment
Question by:navtarainc
[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
  • 3
7 Comments
 
LVL 77

Expert Comment

by:peter57r
ID: 20312634
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
 

Author Comment

by:navtarainc
ID: 20312691
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
 

Author Comment

by:navtarainc
ID: 20312719
sorry typing mistake

used this
 
if onlastrecord then
true
else
false
0
 

Author Comment

by:navtarainc
ID: 20318348
can any one please delete this question as I dont know how to delete this
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 20511471
PAQed with points refunded (500)

Computer101
EE Admin
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

719 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