Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: End date greater than Start Date Post Reply Post New Topic
Author Message
jerzmatic
Newbie
Newbie


Joined: 08 Jan 2008
Location: United States
Online Status: Offline
Posts: 1
Quote jerzmatic Replybullet Topic: End date greater than Start Date
     Posted: 08 Jan 2008 at 9:16am
Greeting all.....Happy New Year Clap
 
I'm new to CRXI
 
I've created a shift report with parameters that prompt the user enter a Start Date and an End date to run.
 
The parameters are set and the report works properly. The problem is if the user enters an End date that's greater than Start Date the report will come back null.....
 
Is there any way to design the report to produce an error or prompt the user to re-enter a proper start and end date range?
 
 
 
IP IP Logged
rahulwalawalkar
Senior Member
Senior Member
Avatar

Joined: 08 Jun 2007
Location: United Kingdom
Online Status: Offline
Posts: 731
Quote rahulwalawalkar Replybullet Posted: 09 Jan 2008 at 6:15am

Hi,

 
Create a Text Box with the error message
 
"End Date Selected is  Greater then Start Date Please Select Proper Date Range"
 
then Right Click the textbox ,In common tab click suppress x+2 button and enter
 
endate < startdate
 
You can place the textbox in details section .....
 
Cheers
Rahul
IP IP Logged
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