Quantcast
Channel: SQLServerCentral » Reporting Services » Reporting Services » Latest topics
Viewing all articles
Browse latest Browse all 2791

One of more parameter not specified - Sub form linked to each record of main form.

$
0
0
SEEMINGLY SOLVED - I needed to specify ALL parameters to the subreport - even those with defaults on the sub. Strange it runs first time - but not subsequently with the defaults parameters not supplied?I have a sub report which runs on parameter of CompanyID ,and 2 dates with defaults, one Boolean with default. In itself it runs OK.I need to run it as a subreport, so for a range of CompanyIDs.I made a new form, put in the dataset containing the CompanyIDs.I add a table to the parent form and paste in the subreport. Add my paramemter and run parent report - and it worked ok.I get my subreport for each CompanyID.However if I close the report and open it again I get One of more parameter not specified error? Have tried from scratch doing the main report again - always the same - runs first time - then errors.Has anyone experience/solution of this - Thanks.

Viewing all articles
Browse latest Browse all 2791

Trending Articles