Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Services / Reporting Services / February 2008

Tip: Looking for answers? Try searching our database.

NULL DateTime parameters via URL

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ron Lytal - 06 Oct 2004 22:28 GMT
My report has DateTime parameters and is being accessed via URL.   These
parameters are set to "Allow NULL".  When I access the report with the
parameter in the URL like this

&DateTimeParm=

I get the error "rsReportParameterTypeMismatch".  When I omit the parameter
from the URL completely, I receive the error "rsReportParameterValueNotSet".
Books Online suggested this syntax

&DateTimeParm:isnull

but this gives me the error "rsInvalidItemPath".  Is it possible to have a
datetime parameter passed as NULL using a URL?
Ron Lytal - 07 Oct 2004 15:04 GMT
This issue is resolved in the "URL access" article posted on 10/7/2004 by
"avnrao" with subject line "Few recommended and useful articles".

> My report has DateTime parameters and is being accessed via URL.   These
> parameters are set to "Allow NULL".  When I access the report with the
[quoted text clipped - 10 lines]
> but this gives me the error "rsInvalidItemPath".  Is it possible to have a
> datetime parameter passed as NULL using a URL?
tyaramis - 14 Dec 2006 13:32 GMT
hi ron,

I have same problem while setting null values to datetime parameters in my
asp.net application.
Did you find a solution?

Thanks in advance.

>My report has DateTime parameters and is being accessed via URL.   These
>parameters are set to "Allow NULL".  When I access the report with the
[quoted text clipped - 10 lines]
>but this gives me the error "rsInvalidItemPath".  Is it possible to have a
>datetime parameter passed as NULL using a URL?
Jon Tudhope - 28 Feb 2008 13:20 GMT
Use "value:isnull=true

From http://www.developmentnow.com/g/115_2004_10_0_0_451623/NULL-DateTime-parameters-
via-URL.ht


Posted via DevelopmentNow.com Group
http://www.developmentnow.com
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.