Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 Reporting Services Development
 Report field left blank

Author  Topic 

sapator
Constraint Violating Yak Guru

462 Posts

Posted - 2008-04-07 : 10:12:27
Hi.
I'm creating a report from a SP and i want a field to take a value optional. So it can be left blank. The sp takes 4 values. 2 datetime and 2 that i want to have a value optional.
The problem is that when i run the report on the server, it demands a value on the optional field!
One of my values is declared like this :
and (TRANSPORTPACKAGETYPE.description like @PackageType or @PackageType is null)
I don't see a mistake. It can take a value or left blank.
when i execut my sp from server exec sp_xx '01/03/08','01/04/08',NULL,NULL
It works fine but when i run it from the report server it request a value on the blank fields.
??


sapator
Constraint Violating Yak Guru

462 Posts

Posted - 2008-04-07 : 18:28:06
Never mind, i've found it.
Go to Top of Page
   

- Advertisement -