Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: Urgent: Select query in Crystal Report Post Reply Post New Topic
<< Prev Page  of 2
Author Message
bujji
Newbie
Newbie
Avatar

Joined: 17 Dec 2008
Location: India
Online Status: Offline
Posts: 6
Quote bujji Replybullet Posted: 18 Dec 2008 at 4:13am
i have sent the details
IP IP Logged
Savan
Senior Member
Senior Member
Avatar

Joined: 14 Dec 2007
Location: India
Online Status: Offline
Posts: 162
Quote Savan Replybullet Posted: 18 Dec 2008 at 4:18am

You can do this while writing the sql code in add command i,e while connecting to database itself you can create the parameters based on these parameter you can pass the value.

Thanks
Savan
IP IP Logged
themessenger
Groupie
Groupie
Avatar

Joined: 15 Aug 2008
Location: United Kingdom
Online Status: Offline
Posts: 48
Quote themessenger Replybullet Posted: 18 Dec 2008 at 7:44am
I think you are trying to make it too difficult.

Just pull in:

Select DISTINCT ld_leg_id, 'OPN' AS status from LD_LEG_T where CUR_OPTLSTAT_ID =300
UNION
Select DISTINCT ld_leg_id, 'TND' AS status from LD_LEG_T where CUR_OPTLSTAT_ID =320

then in the Section Expert - Details - Suppress put something like
IF {?status} = status or {?status} = "*" then false else true

Hope this helps.

TheMessenger
Managing Director
www.allmymenus.com
IP IP Logged
<< Prev Page  of 2
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.047 seconds.