Hope someone can help with a strange problem.
I have a form(form1) which is used to add details, when i have finished entering the details i press the enter key which then opens up another form (frmOrders) and the supplier code is passed to this form(this bit works).The focus is set on the part no text box so i can enter products but when i enter a quantity for the product(in another text box) it tells me that a related field in tblorders is required. This related field is the supplier code field which is recieved from the previous form.
If i try to requery the form from any event then it lets me go to the next line but it only updates the first record int the table.
I have tried to use DoCmd.gotorecord,,acnewrec but this doesnt work.
thanks in advance
Stressed in the uk
I have a form(form1) which is used to add details, when i have finished entering the details i press the enter key which then opens up another form (frmOrders) and the supplier code is passed to this form(this bit works).The focus is set on the part no text box so i can enter products but when i enter a quantity for the product(in another text box) it tells me that a related field in tblorders is required. This related field is the supplier code field which is recieved from the previous form.
If i try to requery the form from any event then it lets me go to the next line but it only updates the first record int the table.
I have tried to use DoCmd.gotorecord,,acnewrec but this doesnt work.
thanks in advance
Stressed in the uk