【解決方法】RDLCでレポートからサブレポートにパラメーターを渡す


rdl レポートを rdlc レポートに変換した後。 サブレポートの表示で以下のエラーが発生しています。 サブレポートがメイン レポートに表示されません。

VB
One or more parameters were not specified for the subreport, 'rptchildData', located at: C:\SSRS\VS2010Repor\SubReport.rdlc.

詳細はログに記載されていませんでした

お知らせ下さい。

解決策 1

このエラー メッセージは、レポート パラメーターが親レポートから子レポートに渡されていないか、レポート パラメーターの形式が間違っているか、レポート パラメーターの許容できない値が親レポートから子レポートに渡されたことを示唆しています (つまり、子レポートを意味する場合はサブレポート)。 渡されているレポート パラメータをもう一度確認できますか?

参考文献
https://social.msdn.microsoft.com/Forums/en-US/7cce3c91-f876-417a-81cc-10e10dde0e40/one-or-more-parameters-required-to-run-the-report-have-not-仕様されている?forum=vsreportcontrols[^]
http://stackoverflow.com/questions/301679/one-or-more-parameters-required-to-run-the-report-have-not-been-specified[^]
http://forums.asp.net/t/1362773.aspx?Passing+parameter+from+the+main+report+to+a+subreport+with+Microsoft+reporting+technology[^]

コメント

タイトルとURLをコピーしました