It keeps coming up with an error. I have other code in the form load section. Below is what I have:
Private Sub Form_Load()
DoCmd.GoToRecord , , acNew
txtQuantity = ""
cboCustomerID = [Forms]![frmNewInvoice]![cboCustomerID]
cboProductID = ""
cboCustomerID.Visible = False
End Sub
The DoCmd.GoToRecord , , acNew creates the error.
What am I doing wrong?