SonuSarojan


Hi,

I have one date parameter in my report. The user will be able to manually enter or use the calendar control. In the case of entering manually, is there any way to validate the input string How can we prevent users from entering alphabets

Also, is there any way to reduce the length of the parameter textbox. Can you please help

Thanks,

Sonu.




Re: Validating the parameter text box

Shyam Sundar


There is no way to validate parameter fields though the reporting services itself will throw an error if you entered an invalid date in date parameter provided you have defined the datatype of that parameter as datetime. Also you can use IsDate() function in any of your expression to check if a given expression is a valid date or not. Also, you cannot change the length of the parameter boxes.

Shyam