Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: All functionality using parameters Post Reply Post New Topic
Author Message
vijayk
Groupie
Groupie


Joined: 14 Mar 2007
Location: United States
Online Status: Offline
Posts: 53
Quote vijayk Replybullet Topic: All functionality using parameters
    Posted: 19 Feb 2008 at 11:48am
Can we create a parameter field in crystal that can pull all the records in the database. I have a requirement where user can submit a value in the prompt or pull all records from the database.
 
Thanks
Vijay
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 19 Feb 2008 at 12:33pm
Yes, you have to add a generic item to the list of values and then use that in the record selection formula. For example, you could add the value 'All' to the list of values, and then the record selection formula would be:
{?prompt}="ALL" OR {table.field} = {?prompt}

Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
IP IP Logged
vijayk
Groupie
Groupie


Joined: 14 Mar 2007
Location: United States
Online Status: Offline
Posts: 53
Quote vijayk Replybullet Posted: 19 Feb 2008 at 1:29pm
Brian,
 
So my LOVs should be static .?
 
Thanks
Vijay
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.031 seconds.