Hi Guys,
I have a report that at the moment requires user input, that is it prompts the user for an input before executing. A typical input would be LG, SG or WG.
Upon inputting this value the report executes and produces a report.
However I have a problem. I want to try and automate all of this. I want to create three reports for the different inputs. I thought I would be able to simply copy the main report and odify the query behind each so an input would not be required. This was not the case as the report attempts to reference the first report. Is there any way I can change this without having to modify the data source on each of the fields
A typical data source is:
=DSum("[SumOfSumOfNETCHARGE1]","[AdLyTyDeBuTotCentre]","[periodkey]='" & [Reports]![repTor4]![periodkey] & "' and [weekno] <= '" & [Reports]![repTor4]![weekno] & "'and [Centre] = '" & [Reports]![repTOR4]![CentreGroup] & " '")
Where I need to change the [repTor] to [repTOR&"User Input"]
Thanks
I have a report that at the moment requires user input, that is it prompts the user for an input before executing. A typical input would be LG, SG or WG.
Upon inputting this value the report executes and produces a report.
However I have a problem. I want to try and automate all of this. I want to create three reports for the different inputs. I thought I would be able to simply copy the main report and odify the query behind each so an input would not be required. This was not the case as the report attempts to reference the first report. Is there any way I can change this without having to modify the data source on each of the fields
A typical data source is:
=DSum("[SumOfSumOfNETCHARGE1]","[AdLyTyDeBuTotCentre]","[periodkey]='" & [Reports]![repTor4]![periodkey] & "' and [weekno] <= '" & [Reports]![repTor4]![weekno] & "'and [Centre] = '" & [Reports]![repTOR4]![CentreGroup] & " '")
Where I need to change the [repTor] to [repTOR&"User Input"]
Thanks