Hello,
I have a report with optional parameters, but at least one needs to be specified to run the query (stored proc).
FromDate (Required)
ToDate (Required)
Invoice (Optional)
PurchaseOrder (Optional)
Customer (Optional)
In this case, either Invoice, PurchaseOrder or Customer must be specified. I don't want the query to run if none of these are specified so right now I throw an exception from the stored proc if all are null, but this results in a non-user-friendly error message.
Thank you