Groups | Blog | Home
all groups > sql server reporting services > december 2005 >

sql server reporting services : date input parameter



kmatth007
12/2/2005 3:00:03 PM
I have user who are entering startdate and enddate parameters. How can I make
sure that the date the enter is in the mm/dd/yy format? Usally you do this
with javascript. Or can I just do something where I can check the length of
the field.
--
שובל
12/3/2005 11:28:02 PM
well the answer will be devide to 2:
1) on RS2000 where no calander/timepicker is availble you should define this
field as datetime and choose the wright format,then if the user will enter a
wrong date the RS won't load the report.no message avaible...
2)on RS2005 there's a timepicker so it's easy to know the user enter a
wright date.

But as recommanded a lot in this newsgroup the best way 2 controll the user
input is 2 use a .Net application that getts the input from the user and send
it to RS.

[quoted text, click to view]
AddThis Social Bookmark Button