J
JamesJ
I'm trying to change a report's RecordSource by using the following in
the OnClick of a command button:
Me.RecordSource = "qryQueryName"
Nothing happens when I click the button.
The Query works fine when I run it. It brings up a datasheet with
the correct records. I just can't seem to apply it properly to the
report. I have have other queries I want to use as the record source
of the report and I want trigger them with command buttons on the report.
Thanks,
James
the OnClick of a command button:
Me.RecordSource = "qryQueryName"
Nothing happens when I click the button.
The Query works fine when I run it. It brings up a datasheet with
the correct records. I just can't seem to apply it properly to the
report. I have have other queries I want to use as the record source
of the report and I want trigger them with command buttons on the report.
Thanks,
James