cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

URL Reporting - Date Parameter not working

Former Member
0 Likes
662

Hi all,

I am using Crystal Reports Server 2008 and utilizing the URL reporting feature. I have been able to get everything to work with the exception of passing dates/datetimes to the report. According to the documentation (http://devlibrary.businessobjects.com/BusinessObjectsXI/en/en/BOE_SDK/boesdk_dotNet_doc/doc/boesdk_net_doc/html/URLreporting_new13.html#191029) I should be able to specify it as follows:

promptex-mydate="Date(2008,12,23)"

However, when I do this it apparently doesn't parse correctly since it is sending a Null value to my database parameter instead of 12/23/2008. If also tried to put the time at the end of it ("Date(2008,12,23,10,10,10)") but no luck there either.

It's most likely something simple that I'm missing but I'm having the hardest time trying to figure it out. Can someone please show me what I am doing wrong?

Thanks,

Tom

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Likes

Guess I don't get points for answering the question myself, but oh well. At least it's answered. LOL

Former Member
0 Likes

Well, of course I was able to figure it out just AFTER posting...but for anyone else in the future here's an explanation. My database parameter was a DateTime but I was using the "Date(yyyy,mm,dd)" feature instead of the "DateTime(yyyy,MM,dd,hh,mm,ss)" feature. Because of this, the datatypes didn't match and therefore did not work correctly.

SAP/BO: This would be helpful in the documentation for the future as I was unable to find DateTime in there anywhere. I just happened to type it in out of desperation and low-and-behold it worked.