Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

SSRS 2005 with SharePoint 2007 List XML Datasource - where clause and formating SharePoint dates?

$
0
0

I have this query that works to pull all rows and all columns:

<Query><SoapAction>http://schemas.microsoft.com/sharepoint/soap/GetListItems</SoapAction><Method Namespace="http://schemas.microsoft.com/sharepoint/soap/" Name="GetListItems"><Parameters><Parameter Name="listName"><DefaultValue>{2C2C18D5-8857-4094-8F1E-F2F21E6BC596}</DefaultValue></Parameter></Parameters></Method><ElementPath IgnoreNamespaces="True">*</ElementPath></Query>

I've attempted to add a where clause but get errors. I just want to condition to pull one Title.

<Query><SoapAction>http://schemas.microsoft.com/sharepoint/soap/GetListItems</SoapAction><Method Namespace="http://schemas.microsoft.com/sharepoint/soap/" Name="GetListItems"><Parameters><Parameter Name="listName"><DefaultValue>{2C2C18D5-8857-4094-8F1E-F2F21E6BC596}</DefaultValue></Parameter><Parameter Name="query" Type="xml"'><DefaultValue><Query><Where><Eq><FieldRef Name="Title"/><Value Type="Text">Cigna</Value></Eq></Where></Query></DefaultValue></Parameter></Parameters></Method><ElementPath IgnoreNamespaces="True">*</ElementPath></Query>


Also I am attempting to format a SharePoint Date from 1993-02-01 00:00:00 to 2/1/1993 using the Properties > Format >... >  Date .. but it does nothing.. also tried  =Format(Cdate(Fields!EffectiveDate.Value),"MM/dd/yy") with no luck comes back with 01/01/01 ??.


============================
Thank You
cyberpine.com




Viewing all articles
Browse latest Browse all 10045

Trending Articles