Solved

SETTING PAGE BREAK AT RUNTIME CR 2008

Posted on 2011-09-24
6
329 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
[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
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.

749 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