I have a strange problem. I am trying to add a new record to a subform but i keep getting the "Error 2105 - You can't go to the specified record".
I have to main forms (frmFeedOrder and frmMineralOrder), each form has a subform & a products listbox. When a product is selected in the list box (double click) it should add a new record to the subform and place the order details into it.
Strange thing is it works fine on the frmFeedOrder which i setup first but not the frmMineralOrder. The latter form i copy & pasted and changed the necessary fields.
Could anyone explain why i might be getting this error?
Sample db attached. (Use test farm as the active farm, then load Mineral Order from menu, select a product from listbox. Then try to select another product but it will not add the new record using the docmd.gotorecord , , acnewrec command).
Thanks in advance.
I have to main forms (frmFeedOrder and frmMineralOrder), each form has a subform & a products listbox. When a product is selected in the list box (double click) it should add a new record to the subform and place the order details into it.
Strange thing is it works fine on the frmFeedOrder which i setup first but not the frmMineralOrder. The latter form i copy & pasted and changed the necessary fields.
Could anyone explain why i might be getting this error?
Sample db attached. (Use test farm as the active farm, then load Mineral Order from menu, select a product from listbox. Then try to select another product but it will not add the new record using the docmd.gotorecord , , acnewrec command).
Thanks in advance.