Crystal Reports : Start group in new page.

How to get this thing done?
First of all , Right click on the section [Group] that you want to start in a new page each time.



Select Section Expert as below

The below window pops up and then click on the paging tab and then click on the button with the [x-2] like image.


Write the below formula.




This should bring up your records in new page for each group.



You can also control this action by passing a formula within this formula, and checking it with a value  for example.

Here @NewPage is a formula field i have added with the default value "1" you could pass this formula field with another value  like "0" . and when it is combined with a "and" condition within the if it becomes a boolean condition.



No comments:

Post a Comment