Home
DevShare Downloads
Date Validation
JasonW
In the attached example the report contains two date parameters. The second date parameter must be less than the first. To implement this I added two report elements one table and one text element. I named both of them. The table element just contains data from the sample database. The text element contains a script that does an alert saying the second parameter must be greater than the first. Then in the beforeFactory event the dates are compared and if date2 is less than date1, the table is dropped from the report and the script will alert the user. If date2 is greater than date1, the text element with the script is dropped from the report.
Find more posts tagged with
Comments
There are no comments yet