Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: How can we select columns using prompts? Post Reply Post New Topic
Author Message
ksam
Newbie
Newbie


Joined: 10 Dec 2011
Location: United States
Online Status: Offline
Posts: 9
Quote ksam Replybullet Topic: How can we select columns using prompts?
    Posted: 22 Dec 2011 at 6:18pm
Hello,
I have a report that has values for current year,current year-1,current year+1.My report is to generate a prompt so that user can select current year or current year-1 or current year+1 or all .So when the user selects current year it should display only that particular way.In the similar way if he selects all it should display all columns.Any one please suggest me how to proceed?

Thanks in Advance.
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 23 Dec 2011 at 3:47am
using the paramater screen...
I would have 3 parameters, which would basically be just check boxes for last year, current year, next year.
 
The user selects the boxes that they want and then you can dynamically suppress the values on the report that you don't want to see.
 
If you want the report to always format the same...as opposed to empty columns, you could programmatically shift the location of the columns ( would start will all the columns in the 'first' column location, and then move them to the right however much is needed depending on how many checkboxes are selected).
 
HTH
 
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.016 seconds.