i have run into the problem where I want to change parameters of a report in vba but it states I need to open the report first, which is no good.
at the moment I am just wanting to do the following
Dim r As Report
Set r = Reports("myReport")
but this only works when the report is open, is there a way to do this without opening the report.
i am actaully wanting to change the RecordSource parameter eventually, in vba without having to open the report.
thanks
at the moment I am just wanting to do the following
Dim r As Report
Set r = Reports("myReport")
but this only works when the report is open, is there a way to do this without opening the report.
i am actaully wanting to change the RecordSource parameter eventually, in vba without having to open the report.
thanks