Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Setting Default Parameter Post Reply Post New Topic
Author Message
SATELE01
Newbie
Newbie
Avatar

Joined: 13 Aug 2012
Location: United States
Online Status: Offline
Posts: 24
Quote SATELE01 Replybullet Topic: Setting Default Parameter
    Posted: 13 Aug 2012 at 6:48am
I'm new to Crystal XI and need to know how to set a default parameter that will get me all the values in a field. I set the parm and can get the values entered but what do i do for ALL values?
IP IP Logged
Sastry
Moderator
Moderator
Avatar

Joined: 16 Jul 2012
Online Status: Offline
Posts: 537
Quote Sastry Replybullet Posted: 13 Aug 2012 at 8:09am
Hi
 
I hope you are talking about a Static Parameter where users will enter values and according to values you get the record set.
 
You can also add 'ALL' in your default values list and in the record selection you need to modify like :
 
If {?Parameter} ='ALL' then True
else
{?Parameter} = {Field Name}
 
This will give you all records when you select 'ALL' as your parameter value.
Thanks,
Sastry
IP IP Logged
Post Reply Post New Topic
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



This page was generated in 0.016 seconds.