How to validate report parameters ?

  • Hi,

    I have a report which has date parameter.

    The report is integrated with .Net application but does not take the parameter from aspx page.

    Instead uses the reports parameter bar for supplying parameter.

    I want to validate the parameter so the user cannot enter invalid date or string?

    I tried writing custom code but it dint work.

    Is it possible to validate a report parameter ?

    Also is it possible to make the report tool bar visible even though there is no report ?

  • Why cant you give the dates that you have in your system, so customer choose from them , i am using a combo box that contains dates from my database from where the user can choose from, I personally think it is not good to have a user enter data for reporting, allow them to choose from a predefined set of values 🙂

  • Also if you pick the datatype DATE if rs, it'll show a datetimepicker. So the date will be valid as a date. Now will it be valid for the query, now that's another problem. I usually deal with that in the stored proc (like reordering the dates if the begin date is greater than the ending date).

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply