--
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"ahmed" <ah...@discussions.microsoft.com> wrote in message
news:C16D6269-7E84-4AD0...@microsoft.com...
"Bruce L-C [MVP]" wrote:
> .
>
When you have a query parameter RS automatically creates a report parameter
and maps them to one another.
Modify your query like so:
SELECT * From PES_Object a
JOIN PES_Class b on b.cls_UID = a.cls_UID
WHERE b.nsp_UID = @NSPUID
RS will automatically create a report parameter called NSPUID. So, if you
already have a report parameter just use @ExistingParameterName in place of
@NSPUID.
--
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"ahmed" <ah...@discussions.microsoft.com> wrote in message
news:8BA29774-D67A-4B23...@microsoft.com...
TITLE: Microsoft Report Designer
------------------------------
An error occurred while executing the query.
There was a problem executing the stored procedure: Must declare the scalar
variable "@NSPUID".
------------------------------
ADDITIONAL INFORMATION:
There was a problem executing the stored procedure: Must declare the scalar
variable "@NSPUID". (System.Data)
------------------------------
BUTTONS:
OK
------------------------------
"Bruce L-C [MVP]" wrote:
> .
>
--
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"ahmed" <ah...@discussions.microsoft.com> wrote in message
news:676DE2A8-6A33-4016...@microsoft.com...
"Bruce L-C [MVP]" wrote:
> .
>
--
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"ahmed" <ah...@discussions.microsoft.com> wrote in message
news:68470C79-54C1-447F...@microsoft.com...