Print Page | Close Window

Validation Of Parameters

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Technical Questions
Forum Discription: Formulas, charting data, Crystal syntax, etc.
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=15817
Printed Date: 19 May 2024 at 1:55pm


Topic: Validation Of Parameters
Posted By: arunvisak
Subject: Validation Of Parameters
Date 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



Replies:
Posted By: rkrowland
Date 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.


Posted By: arunvisak
Date 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



Print Page | Close Window