S
springtime
I have a combo box that looks up names in a query and pre-fills that
information on the form if the name is found. If the name is not in the
list, then a data entry form opens up to add a new record then returns to the
form that called it. I use the following two commands to add the record.
(DoCmd.OpenForm "MyForm", acNormal, DoCmd.GoToRecord , , acNewRec) I can’t
get the newly added name to show up in the combo box list after returning to
the original form to pre-fill information. I have tried requery, but can’t
get it to work.
information on the form if the name is found. If the name is not in the
list, then a data entry form opens up to add a new record then returns to the
form that called it. I use the following two commands to add the record.
(DoCmd.OpenForm "MyForm", acNormal, DoCmd.GoToRecord , , acNewRec) I can’t
get the newly added name to show up in the combo box list after returning to
the original form to pre-fill information. I have tried requery, but can’t
get it to work.