The Macro displays query results based on selected criteria in a form. The
query results displayed are one of three queries. For example:
Macro criteria: If [Forms]![Pick]![Segment] = WIS, OpenQuery: "WIS Query"
If [Forms]![Pick]![Segment] = Count, OpenQuery: "Count Query"
If [Forms]![Pick]![Segment] = Summer, OpenQuery: "Summer Query"
I believe this can also be done through an If else statement in VBA but I'm
not sure how to create a query to call the recordsource in VBA.
Any help you can provide would be appreciated.
Thanks,