Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: Cascading prompt ?? Post Reply Post New Topic
<< Prev Page  of 2
Author Message
flazaro28
Newbie
Newbie


Joined: 30 Apr 2009
Location: Poland
Online Status: Offline
Posts: 35
Quote flazaro28 Replybullet Posted: 15 Jun 2010 at 12:08pm
Originally posted by DBlank

The record selection is pretty easy using actual cascading prompts is not in this case. If you just use regular params (not a cascading one) it would be easy fairly straight foreward.
Her is what your select statement would look like:
({?Deletion status}='All' or {?Deletion status}={table.deletion_status})
and
({?program}='All' or {?program}={table.Programfield})
and
({?Rotation}='All' or {?Rotation}={table.Rotationfield})
 
 
 
 
 
Thanks DBLANK! But  there is no such column called Table.deletion_status...I'm populating the static  values for deletion_status in business view manager....
 
 


Edited by flazaro28 - 15 Jun 2010 at 12:09pm
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 16 Jun 2010 at 4:11am
Use whatever your data manipulation process is for that in the select expert.
IP IP Logged
flazaro28
Newbie
Newbie


Joined: 30 Apr 2009
Location: Poland
Online Status: Offline
Posts: 35
Quote flazaro28 Replybullet Posted: 18 Jun 2010 at 7:01am
Originally posted by DBlank

Use whatever your data manipulation process is for that in the select expert.
Hi Dblank...When I select 'Deleted' value from Deleted prompt
&                             select all from program child prompt
& select specific rotation, it fails to display the resultset in the report..
 
 
It is working fine upto 2 level hierarchy...but it fails to display the right data when I select a specific value  from the rotation subchild dropdown...
 
I have used this formula
 
{?Deletion}=' *All' or {?Deletion} = {Command.DELETION_STATUS})
and
{?program}=' *All'  or  {?program}={Command.PROGRAMTITLE}
and
{?Rotation}=' *All' or {?Rotation}={Command.ROTATIONTITLE}
 
 
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 19 Jun 2010 at 4:00am
You need parenths around each or statement
 
({?Deletion}=' *All' or {?Deletion} = {Command.DELETION_STATUS})
and
({?program}=' *All'  or  {?program}={Command.PROGRAMTITLE})
and
({?Rotation}=' *All' or {?Rotation}={Command.ROTATIONTITLE})
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.031 seconds.