matrixindicator
IS-IT--Management
I have a report, it should change the recordsource (query) depending on a change button if on (true). Below code is not working 100% Because he said the name of the report is not correct spelled. What is the good way to change recordsource of a report ?
Code:
DoCmd.OpenReport "R01_ETIKET", acViewReport
Reports!R01_ETIKET.RecordSource = "QS_T02_ORDER"
DoCmd.OpenReport "R01_ETIKET"