justagrunt
Technical User
- Oct 10, 2002
- 132
Hi,
This problem has recently raised it head, where by what once worked now produces the runtime error. I have an unbound combo box, on a main form, which on not inlist, calls a separate form where information can be added. On save or close this form calls up the Combo and askes it to be requeried, so the user could select the new information. Simple it worked for untill the server was upgraded to Win2000, so not sure if this is the starting point.
Code is as follows.
Private Sub Form_Close()
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
'Record is saved. Requery Combo72 in Add Sales Register to update its list.
[Forms]![Sales Enquiry Register]![Combo72].Requery
End Sub
any suggestion welcomed, other alternatives please.
Kind Regards.
This problem has recently raised it head, where by what once worked now produces the runtime error. I have an unbound combo box, on a main form, which on not inlist, calls a separate form where information can be added. On save or close this form calls up the Combo and askes it to be requeried, so the user could select the new information. Simple it worked for untill the server was upgraded to Win2000, so not sure if this is the starting point.
Code is as follows.
Private Sub Form_Close()
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
'Record is saved. Requery Combo72 in Add Sales Register to update its list.
[Forms]![Sales Enquiry Register]![Combo72].Requery
End Sub
any suggestion welcomed, other alternatives please.
Kind Regards.