hi listers,
I have a combo box (Personnel ID) in a Main Form that asks the user if he/she wants to enter a new ID, if it is not already in the underlying Personnel table.
If so, a Child Form pops up, the user enters the new data, and then closes the window and goes back to the Main Form. The problem is that the newly-entered Personnel ID is still not recognized as a valid data record on the Main Form, so the user enters an infinite loop when he/she is again prompted to enter a new ID. This does little for data entry efficiency.
I've tried to requery the table After Update, but I don't seem to be getting anywhere. The VB editor accepts a Me!PersonnelID.requery routine in the Child Form, but what I really want to do is requery the combo box for the Main Form. I tried After Update/ Forms!frmMain!PersonnelID.requery
but get nowhere with that.
The solution seems like it should be easy. Can anyone help me out?
thanks!!
J
I have a combo box (Personnel ID) in a Main Form that asks the user if he/she wants to enter a new ID, if it is not already in the underlying Personnel table.
If so, a Child Form pops up, the user enters the new data, and then closes the window and goes back to the Main Form. The problem is that the newly-entered Personnel ID is still not recognized as a valid data record on the Main Form, so the user enters an infinite loop when he/she is again prompted to enter a new ID. This does little for data entry efficiency.
I've tried to requery the table After Update, but I don't seem to be getting anywhere. The VB editor accepts a Me!PersonnelID.requery routine in the Child Form, but what I really want to do is requery the combo box for the Main Form. I tried After Update/ Forms!frmMain!PersonnelID.requery
but get nowhere with that.
The solution seems like it should be easy. Can anyone help me out?
thanks!!
J