Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Section Print Post Reply Post New Topic
Author Message
manjucrystal
Newbie
Newbie


Joined: 11 Feb 2013
Location: India
Online Status: Offline
Posts: 13
Quote manjucrystal Replybullet Topic: Section Print
     Posted: 26 Sep 2013 at 11:52pm
Is there any way to print number of times a section based on parameter value given by user.
 
IP IP Logged
Sastry
Moderator
Moderator
Avatar

Joined: 16 Jul 2012
Online Status: Offline
Posts: 537
Quote Sastry Replybullet Posted: 27 Sep 2013 at 5:03am
Hi

If I understood correctly, suppose you have 200 detail lines and if a user enters 50 through parameter it should print only 50 detail sections right ?

If so, use below formulas :

@inic //place this formula where you want to print sections

whileprintingrecords;
numbervar x:=x+1;

Now go in Seciton expert and select the section which you want to print and select suppress condition formula editor and give below formula

{@inic} > {?userParameterValue}

Thanks,
Sastry
IP IP Logged
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum