Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Simple parameter question Post Reply Post New Topic
Author Message
colman1212
Newbie
Newbie


Joined: 08 Jul 2010
Location: Ireland
Online Status: Offline
Posts: 36
Quote colman1212 Replybullet Topic: Simple parameter question
     Posted: 05 Oct 2010 at 1:44am
Hi Folks,
 
So I have a parameter called category which has 4 options
Creation
Deletion
Add
Move
 
The user can basically selected one, some or all of the parameters.
I want to then pull back all rows where the category is equal to which ever ones the user selected. How do I do this?
I tried saying where category='?Category but for example when the user enters Creation and Deletion it will just pull back all the creation ones.
 
Any help will be much appreciated.
 
Thanks in advance,
Colman
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 05 Oct 2010 at 4:09am
it should be just as you did it in the select statement
{table.category}={?Category}
 
Do each of the values work if you only select one?
Do you have any other parts to your select statement? 
IP IP Logged
FrnhtGLI
Senior Member
Senior Member
Avatar

Joined: 22 May 2009
Online Status: Offline
Posts: 347
Quote FrnhtGLI Replybullet Posted: 05 Oct 2010 at 4:23am

DBlank is correct. Your original statement should work. But what about trying something like:

{table.category} in {?Category}
|< /\ '][' ( )
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