Lynn_AccessUser
Registered User.
- Local time
- Today, 13:42
- Joined
- Feb 4, 2003
- Messages
- 125
I have a subform with a combo box. On the after update event of the combo box I have:
DoCmd.RunCommand acCmdSaveRecord
Me.Requery
The value in the combo box determines what data is populated in the other fields on the subform which is why I am saving the record and requering the data.
The first record goes in OK on the subform. But when you go to the second record and so on I get the following error:
Run-time error '16389'
Reserved Error
If I remove the DoCmd and Requery lines of code the error goes away but then the data on the subform is not refreshed until the user goes to the next record and then back.
I have searched the web and can't find anything telling me exactly what this error means.
I tried both a single form and continuous form and that did not make a difference.
Thanks!!!
DoCmd.RunCommand acCmdSaveRecord
Me.Requery
The value in the combo box determines what data is populated in the other fields on the subform which is why I am saving the record and requering the data.
The first record goes in OK on the subform. But when you go to the second record and so on I get the following error:
Run-time error '16389'
Reserved Error
If I remove the DoCmd and Requery lines of code the error goes away but then the data on the subform is not refreshed until the user goes to the next record and then back.
I have searched the web and can't find anything telling me exactly what this error means.
I tried both a single form and continuous form and that did not make a difference.
Thanks!!!