Changing RecordSource at Runtime

Changing RecordSource at Runtime

At runtime, how do I change the query that I’m using with my data controls to be one a user selected? I don’t want to keep the same name in the RecordSource property all the time.

You can change the RecordSource of the data control at run time — just give it the name of the query you wish to use. You can also change the database name property at run-time.


Share the Post: