reportingservices 2005 - Report not generating results when parameters passed -



reportingservices 2005 - Report not generating results when parameters passed -

i hope can help pretty frustrating , sure minor detail cannot see anymore.

i have simple study below not generate results if leave @startdate , @enddate in report; however, if hard-code parameters (with date range, example, 1/1/13 through 1/31/13) study works fine , displays results. can please help??

thank you!

declare @startdate datetime declare @enddate datetime set @startdate = convert(datetime,convert(varchar(25),@startdate,101) + ' 00:00:00') set @enddate = dateadd(s,-1,dateadd(d,1, convert(varchar, @enddate, 101))) select i.crossreference [steiner code], i.weight [vendor code], po.poid purchaseid, i.location center, s.address1 + ' ' + s.address2 centeraddress, s.city, s.zip, s.phone, i.description, po.orderdate, po.ordered quantity, i.cost, (po.ordered * i.cost) extcost [visual inventory].dbo.inventory inner bring together [visual inventory].dbo.purchaseorders po on i.itemid = po.itemid inner bring together site s on i.location = s.description po.orderdate between (@startdate) , (@enddate) grouping i.location, i.crossreference, po.poid, s.address1, s.address2, s.city, i.weight,i.description, po.ordered, i.cost, po.orderdate, s.zip, s.phone

order i.location, i.description

reportingservices-2005

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -