Hello,
I want to change the recordsource of a report when I open it from a form. Something like this:
docmd.openreport "myreport"
myreport.recordsource = mysql
myreport.requery
The report is showing fine but the recordsource isn't adjusted.
Kind regards,
Hans B.
I want to change the recordsource of a report when I open it from a form. Something like this:
docmd.openreport "myreport"
myreport.recordsource = mysql
myreport.requery
The report is showing fine but the recordsource isn't adjusted.
Kind regards,
Hans B.