Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: Validation Of Parameters Post Reply Post New Topic
Author Message
arunvisak
Newbie
Newbie
Avatar

Joined: 02 Aug 2011
Location: India
Online Status: Offline
Posts: 8
Quote arunvisak Replybullet Topic: Validation Of Parameters
    Posted: 06 Mar 2012 at 11:22pm
Hi guys,

I am using crystal report 2008 with sap b1..One of my client is asking for validation of crystal report parameter.(For Ex)'fromdate' and 'todate' are parameters..
If they enter 'todate' lesser than 'fromdate' then report opens without datas..but what they want is an error msg showing "ToDate Should not be less than fromdate"...Is it possible..Pls give some ideas..

Thanks,
DAV
D.A.V
arun@indusnovateur.com
IP IP Logged
rkrowland
Senior Member
Senior Member
Avatar

Joined: 20 Dec 2011
Location: England
Online Status: Offline
Posts: 259
Quote rkrowland Replybullet Posted: 07 Mar 2012 at 2:23am
You could create a Textbox with your error message in the actual report.
 
Right-Click > Format Object > Click the x-2 button next to Surpress
 
Enter the following;
 
{?todate} < {?fromdate}
 
This will cause the error message to only display when the todate is less then the from date.
 
Regards,
Ryan.
IP IP Logged
arunvisak
Newbie
Newbie
Avatar

Joined: 02 Aug 2011
Location: India
Online Status: Offline
Posts: 8
Quote arunvisak Replybullet Posted: 07 Mar 2012 at 8:06pm
Hi,

Thanks for your idea..Hope it will help me..

Thanks,
DAV
D.A.V
arun@indusnovateur.com
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.031 seconds.