One way is to code the Open Event of the report:
If forms!FormName!SomeControl = SomeCriteria Then
Me.RecordSource = "Query1"
Else
Me.RecordSource = "Query2"
End If
One way is to code the Open Event of the report:
If forms!FormName!SomeControl = SomeCriteria Then
Me.RecordSource = "Query1"
Else
Me.RecordSource = "Query2"
End If
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.