Wondering if it is possible to use one form to open different
queries at different times. As an example, I may have
frmViewQueries that opens up when I click a command button on
frmMain. So, the code for the command button might be
DoCmd.OpenForm "frmViewQueries", acFormDS
So, frmViewQueries actually provides a datasheet view of qryQuery1.
Now, what if later on I want to open qryQuery2 in the same
frmViewQueries form. Is this possible? Can I change the
RecordSource of frmViewQueries some how? Something like this
frmViewQueries.RecordSource = qryQuery2
DoCmd.OpenForm "frmViewQueries", acFormDS
How can I tell frmViewQueries what columns from qryQuery2 to display?
Marcus
******