Tech Support > Microsoft Windows > Windows CRM > Passing Dates in URL
Passing Dates in URL
Posted by mgarg@syssol.com.au on May 27th, 2005


Hi All,

I am trying to pass dates in URL from my aspx page. But it does not
work. Any help will be appreciated.

This is how my url looks lik:

http://localhost/reports/viewer/html...01055&promptex
-Start+Date=%22Date(2005%2C04%2C22)%22

Mita

Posted by mgarg@syssol.com.au on May 27th, 2005


Hi

sorry, i realized my url has become a link above. this is my url

<server>/viewer.aspx?id=4793&promptex-Contract+Number=TSS-01055&promptex-Currency=AUD&promptex-Start+Date=%22Date(2005%2C04%2C22)%22

Posted by Gerhard Doppler on July 7th, 2005


Hello!
I've got the same problem as you and solved it.
I changed the datatype of the parameter-field in the report to string, added
a formula-field which converts this string to date
CDate({?from})
and passed the parameter in the url this way:
promptex-from=2005-1-31

Hope this helps,

Gerhard

"mgarg@syssol.com.au" wrote:


Similar Posts