Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

Linking a subreport using a data field causes "Missing Parameter Values"

$
0
0

I have a number of reports that are being called from C#. Many of the reports have subreports. For subreports that appear at the end of the report, in the footer for example, I have no issues. I create parameters in the main report, and link them to the subreport, and it works fine.

 

I have now run into a situation where the subreport is part of a group footer. I need to link this subreport based on one of the fields in my dataset, RecKey. When I do this, a parameter called "?PM-ibinvoice.reckey" is created (ibInvoice is the name of the dataset). It looks a little different than the others, which I assume is because it is being used to filter the data in the subreport.

 

parameter.JPG

 

So far, so good. I believe this is the right way to do this. However, when I attempt to export the report, I get "Missing Parameter Values".

 

I've done enough experimenting to know for certain that the "PM" parameter is the one that is missing. Even if it were possible to set a parameter on a subreport, which it isn't, that wouldn't be correct. The subreport data needs to be filtered on the reckey.

 

This seems like a fairly common case, so I must just be missing something. Any ideas would be appreciated.

 

Thanks,

 

Geoff Callaghan


Viewing all articles
Browse latest Browse all 3636

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>