Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


An attempt was made to set a report parameter that is not defined in this report


An attempt was made to set a report parameter that is not defined in this report

Author
Message
Kev Wisbey-443237
Kev Wisbey-443237
SSC Rookie
SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)

Group: General Forum Members
Points: 25 Visits: 395
I have a drill through report that passes 4 parameters to a second report. The parameters are "Group", "Source", "SourceOther" and "page".
The Second report has 4 parameters matching the name of the sent parameters. The dataset expects "Group", "Source", "SourceOther" and "page" but when I click on the text box to open the second report I get the message An attempt was made to set a report parameter 'Group' that is not defined in this report.

I have checked the rdl file.
<ReportParameter Name="Group">
<DataType>String</DataType>
<AllowBlank>true</AllowBlank>
<Prompt>Group</Prompt>
Can someone help me?
PB_BI
PB_BI
Ten Centuries
Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)

Group: General Forum Members
Points: 1291 Visits: 2404
Is the parameter defined in your dataset/shared dataset?

Sorry, misread your post. I had this issue once and the problem was with the shared dataset.....

Have you made sure that the names of the parameters are exactly the same? If you have changed things as you went along then you might have missed that out?
Have you tried removing the parameter from the drillthrough report and then recreating it? Sometimes when copying/re-purposing reports things can get corrupt/mixed up...




I'm on LinkedIn
JasonClark
JasonClark
SSC-Addicted
SSC-Addicted (415 reputation)SSC-Addicted (415 reputation)SSC-Addicted (415 reputation)SSC-Addicted (415 reputation)SSC-Addicted (415 reputation)SSC-Addicted (415 reputation)SSC-Addicted (415 reputation)SSC-Addicted (415 reputation)

Group: General Forum Members
Points: 415 Visits: 810
Hi make sure “Name” of the ReportParameter must match the name parameter in the report.
Kev Wisbey-443237
Kev Wisbey-443237
SSC Rookie
SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)

Group: General Forum Members
Points: 25 Visits: 395
The base report has the parameter name of directorate the sub level has the parameter name of group so on the text box action I pass Group with a value of parameters!directorate.value.
It is the same methodology I have used in other reports.
By the way this report is currently working we are just migrating it to reporting services and tightening it up a bit.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search