Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Selection formula "All" Post Reply Post New Topic
Author Message
bigburb
Newbie
Newbie


Joined: 07 Oct 2009
Location: United States
Online Status: Offline
Posts: 26
Quote bigburb Replybullet Topic: Selection formula "All"
    Posted: 02 Mar 2010 at 2:43pm
I'm trying to build a selection formula that will filter for a certain product code, unless the user enters parameter "All", in which case it will return all product codes. For example, user enters "A" and it returns all product coded with "A", but if the user enters "All" it returns products coded A, B and C.
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 02 Mar 2010 at 2:50pm
{?Param}='All' or {?Param}={table.ProductCode}
IP IP Logged
bigburb
Newbie
Newbie


Joined: 07 Oct 2009
Location: United States
Online Status: Offline
Posts: 26
Quote bigburb Replybullet Posted: 03 Mar 2010 at 6:18am
That worked, thanks!
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.