Solved

SETTING PAGE BREAK AT RUNTIME CR 2008

Posted on 2011-09-24
6
325 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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

825 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