Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parameter Validation

Status
Not open for further replies.

jakecolman

IS-IT--Management
Apr 2, 2006
54
US
We have a requirement that report parameters be validated against each other. For example, given a report that uses two date parameters, I need to validate that the second date is greater than the first date. Is there a way to implement this using formulas?

Thanks!

...Jake
 
Create a formula:

{?enddate} > {?startdate}

Or, to return a message, try:

if {?enddate} > {?startdate} then "Valid Date Selection" else "Invalid Date Selection"

-LB
 
Yes, I realize I can write a formula. But where do I put this formula on the report so that it executes before the report actually does anything?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top