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.
↧