Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: Default Parameter Date Post Reply Post New Topic
Author Message
south
Groupie
Groupie


Joined: 31 Jul 2012
Online Status: Offline
Posts: 82
Quote south Replybullet Topic: Default Parameter Date
    Posted: 23 Jul 2014 at 6:51am
I have a report where you enter the start date and the end date.  I would like to have the person that runs the report be able skip the start and end date and get all records associated with that work center.  How would I do this in crystal 2008?
IP IP Logged
adavis
Senior Member
Senior Member


Joined: 30 Oct 2012
Online Status: Offline
Posts: 104
Quote adavis Replybullet Posted: 23 Jul 2014 at 8:08am
Delete the date parameters
IP IP Logged
kostya1122
Senior Member
Senior Member
Avatar

Joined: 13 Jun 2011
Online Status: Offline
Posts: 475
Quote kostya1122 Replybullet Posted: 23 Jul 2014 at 12:04pm
you could create 3rd string
 parameter type with 2 default values like
use date range
don't use date range

then in select expert
write something like
(if {type?} ="use date range" then
date_field in @start to @end
else 1=1)

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.047 seconds.