Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Services / Reporting Services / July 2009

Tip: Looking for answers? Try searching our database.

Error BC30654

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
FlashMerlot - 01 Jun 2005 12:56 GMT
I get the following error ... Any advice?

The value expression for the query parameter ‘@JIDs’ contains an error:
[BC30654] 'Return' statement in a Function or a Get must return a value.

Signature

Frederick Volking
System Architect
SC Dept of Juvenile Justice

Wayne Snyder - 01 Jun 2005 23:15 GMT
It looks like the parameter gets its value from a function...

Please post the function code...

Signature

Wayne Snyder, MCDBA, SQL Server MVP
Mariner, Charlotte, NC
www.mariner-usa.com
(Please respond only to the newsgroups.)

I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org

>I get the following error ... Any advice?
>
> The value expression for the query parameter '@JIDs' contains an error:
> [BC30654] 'Return' statement in a Function or a Get must return a value.
Terry Francis, Database Developer - 02 Jul 2009 19:51 GMT
This error will occur when an SSRS report is based on a SQL stored procedure that must receive one or more parameters from the report at run-time, and the value of the parameters from within the report are not correctly set in the dataset.  To correct this error in Visual Studio 2005 do the following:

1. Open the report project in Visual Studio 2005.
2. Select the report from the Solution Explorer.
3. Click on the Data tab.
4. The dataset on which the report is based should be selected in the Dataset drop-down menu.  Click the elipsis next to the drop-down menu to edit the dataset.
5. When the dataset dialog box is displayed, click on the Parameters tab.
6. For each parameter that is passed to the stored proc, enter the parameter name, i.e., “@myParmVal” as it appears in the storec procedure.  From the Value drop-down list, select the “=Parameters!myParmVal.Value” option.

From http://www.developmentnow.com/g/115_2005_6_0_0_533801/Error-BC30654.ht

Posted via DevelopmentNow.com Group
http://www.developmentnow.com/g/
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.