all groups > sql server reporting services > march 2005 >
You're in the

sql server reporting services

group:

Query shows correct value but rep does not


Query shows correct value but rep does not PaulQld
3/22/2005 4:41:02 PM
sql server reporting services: I have a param'd stored procedure that returns a recordset.

If I run the SP from Query Analyser the values in the recordset are as I
expect them to be - Correct.

If I run the SP from the Data Tab in RS , then randomly I will get a field
value that
has been ..
1: Rounded up eg: 59,270 becomes 59,300
OR
2: Has something subtracted eg: 59,270 becomes 49,270

The returned fields are Money. I have tried decimal but to no avail.
The example above is random. There are no formulas that might affect the
output
of these fields.

Note that I am only comparing the Data sources , the report is incorrect of
course as a result and all calcs that rely on the fields are affected by the
above problem, which throws the whole report into a state of inaccuracy.

RS is running against a SQLServer 2000 db, SP3.
RS is at SP1. RS is running on a different server to SQL.

If you have experienced anything like this please respond to this post. Many
thanks in advance.

Paul




Re: Query shows correct value but rep does not Lev Semenets [MSFT]
3/22/2005 8:36:55 PM
Could you run Profiler to check if Report Designer calls stored procedure in
same way QA does?

--
This posting is provided "AS IS" with no warranties, and confers no rights.


[quoted text, click to view]

Re: Query shows correct value but rep does not PaulQld
3/22/2005 10:25:07 PM
Well thats interesting, as Profiler logs the execution of the SP from QA, but
I cannot see the call from RS - Designer, perhaps I am missing something in
the profiler properties, and as I only share the server with my colleague I
thought i had everything covered.. I should add that the problem is also
apparent on the rendered report from Report Manager.
Thanx
Paul

[quoted text, click to view]
AddThis Social Bookmark Button