G
Guest
Hi,
I've been struggling with this. It seems to be simple enough, but I cannot
get my macro to work.
I would like to have one form with just a combo box. The combo box contains
a user ID and the First/Last names, so that when a user selects from the
combo box, they are sure to select the correct person. After selecting from
the combo box, I'd like to have a different form open to the record selected
from the combo box. I'd like just that record to be displayed.
I created a macro that opens the other form (OpenForm), and input an
expression for the "Where Condition": [ID]=[Forms]![MyFormName]![ID]; this
macro was added to the "OnChange" event in the combo box properties.
When I select from the combo box, the other form opens, but it does not go
to the record selected. It goes to the a blank new record.
Where am I going wrong? I'm not a prgrammer, so VBA isn't an option. (unless
it was fairly easy to understand)
I've read a lot of the posted discussions and tried a few of those
suggestions out, but they don't seem to work for what I want to do. I know
this cannot be that hard. Any suggestions?
I've been struggling with this. It seems to be simple enough, but I cannot
get my macro to work.
I would like to have one form with just a combo box. The combo box contains
a user ID and the First/Last names, so that when a user selects from the
combo box, they are sure to select the correct person. After selecting from
the combo box, I'd like to have a different form open to the record selected
from the combo box. I'd like just that record to be displayed.
I created a macro that opens the other form (OpenForm), and input an
expression for the "Where Condition": [ID]=[Forms]![MyFormName]![ID]; this
macro was added to the "OnChange" event in the combo box properties.
When I select from the combo box, the other form opens, but it does not go
to the record selected. It goes to the a blank new record.
Where am I going wrong? I'm not a prgrammer, so VBA isn't an option. (unless
it was fairly easy to understand)
I've read a lot of the posted discussions and tried a few of those
suggestions out, but they don't seem to work for what I want to do. I know
this cannot be that hard. Any suggestions?