Solved

SETTING PAGE BREAK AT RUNTIME CR 2008

Posted on 2011-09-24
6
321 Views
Last Modified: 2012-05-12
Hi All,

I want to set CR page break at run time using VB Code.

How could I do it ?

Thank you.
0
Comment
Question by:emi_sastra
  • 3
  • 2
6 Comments
 
LVL 12

Expert Comment

by:Deepu Chowdary
ID: 36594329
Hello Emi sastra.. plz try these once :

http://support.microsoft.com/kb/218500

0
 
LVL 1

Author Comment

by:emi_sastra
ID: 36594343
Hi Exchange9,

That is word not Crystal Report 2008.

Thank you.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 36594441
I don't believe you can do that from the application.

When do you want thepage break?
You can control page breaks to some degree through formulas.

mlmcc
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 1

Author Comment

by:emi_sastra
ID: 36596577
Hi mlmcc,

Let's say at design time we don't set page break for every group change.
We let the user to set the behavior at print form (page break or not)
Thus we change the application to tell CR to do that.

Any way to do it is well come.

Thank you.
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 36596930
You could pass a parameter to the report and use the formula for NEW PAGE AFTER as

Not OnLastRecord
AND
{?PageAfterGroup} = "Yes"

mlmcc
0
 
LVL 1

Author Closing Comment

by:emi_sastra
ID: 36687622
Thank you very much for your help.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Spacing between controls 4 30
LINQ - C# to VB convertion 12 46
Exit the loop 4 34
Access to class from any project within a solution. 6 14
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

911 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now