schasteen said:Try this code:
Private Sub Command28_Click()
On Error GoTo Err_Command28_Click
DoCmd.Close
Fprms![INPUT_FRM]![MFG].Requery
lyledentale said:Error-
The expression you entered refers to an object that is closed or doesn exist……
-
here is code – this is on the close event of the mfg input for that takes
you back to main input form. T hanks man. So much help. I am almost there.
Private Sub Command28_Click()
On Error GoTo Err_Command28_Click
DoCmd.Close
DoCmd.OpenForm "INPUT_FRM", , , , , acDialog
Me.MFG.Requery
Exit_Command28_Click:
Exit Sub
Err_Command28_Click:
MsgBox Err.Description
Resume Exit_Command28_Click
End Sub
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.