S
Sarah
Please could anyone give me any suggestions about the
following as I can't seem to get anything I've tried to
work.
I'd like to change the Record Source (as given when you
look at the properties of a form) of a form from one table
to another using either a macro or VBA such that the user
can choose to look at the dataset in table one or the
dataset in table two as they wish, but through the same
form (rather than setting up duplicate forms and subforms
to look at the second table as this seems a bit
cumbersome).
I've looked in the Access Help files and an Access 2000
Developer's Handbook but can't seem to find anything about
automating this sort of change, is it possible?
There is a command word 'RecordSource' in VBA but I'm not
sure if that refers to quite the same thing as the 'Record
Source' as from the form properties...?
following as I can't seem to get anything I've tried to
work.
I'd like to change the Record Source (as given when you
look at the properties of a form) of a form from one table
to another using either a macro or VBA such that the user
can choose to look at the dataset in table one or the
dataset in table two as they wish, but through the same
form (rather than setting up duplicate forms and subforms
to look at the second table as this seems a bit
cumbersome).
I've looked in the Access Help files and an Access 2000
Developer's Handbook but can't seem to find anything about
automating this sort of change, is it possible?
There is a command word 'RecordSource' in VBA but I'm not
sure if that refers to quite the same thing as the 'Record
Source' as from the form properties...?