J
Joyce
Hello,
I'm using Access 2000. I added a combo box to enable users to select an
existing employee name. The source of the form is a query that contains the
last&", "&first to concatenate the two fields so they show correctly in the
combo box.
Everything is fine until I add or delete an employee. The combo box doesn't
update automatically, so I added the following event in the form's After
Update:
Private Sub Form_AfterUpdate()
Me!cboName.Requery
End Sub
However, now the combo and the employee records no longer are in synch.
Nothing at all happens when I select an employee name.
I have tried a variety of requery events - form, combo box, both.... but
they all result in this problem.
Any suggestions?
Thanks!
I'm using Access 2000. I added a combo box to enable users to select an
existing employee name. The source of the form is a query that contains the
last&", "&first to concatenate the two fields so they show correctly in the
combo box.
Everything is fine until I add or delete an employee. The combo box doesn't
update automatically, so I added the following event in the form's After
Update:
Private Sub Form_AfterUpdate()
Me!cboName.Requery
End Sub
However, now the combo and the employee records no longer are in synch.
Nothing at all happens when I select an employee name.
I have tried a variety of requery events - form, combo box, both.... but
they all result in this problem.
Any suggestions?
Thanks!