D
Doug_C
Hello,
I am working on an FAQ Database that has a main form to view all entries
made. On the main form is a button to open a secondary form for inputting the
information. Everything seems to work fine except:
When I click the close button, I get this error message:
"The expression you entered refers to an object that is closed or doesn't
exist".
Here is the code in the button:
Private Sub Close_Form_Click()
On Error GoTo Err_Close_Form_Click
DoCmd.Close
Me!FAQ.Form.Requery
Exit_Close_Form_Click:
Exit Sub
Err_Close_Form_Click:
MsgBox Err.Description
Resume Exit_Close_Form_Click
End Sub
Also from the main form, when I click on the button to open the new form how
do I get the cursor to start in the subject field rather than the text field?
I am still a novice so please simplify answer. I'm sure I am missing
something so any help would be most appreciated!!
Thanks!
I am working on an FAQ Database that has a main form to view all entries
made. On the main form is a button to open a secondary form for inputting the
information. Everything seems to work fine except:
When I click the close button, I get this error message:
"The expression you entered refers to an object that is closed or doesn't
exist".
Here is the code in the button:
Private Sub Close_Form_Click()
On Error GoTo Err_Close_Form_Click
DoCmd.Close
Me!FAQ.Form.Requery
Exit_Close_Form_Click:
Exit Sub
Err_Close_Form_Click:
MsgBox Err.Description
Resume Exit_Close_Form_Click
End Sub
Also from the main form, when I click on the button to open the new form how
do I get the cursor to start in the subject field rather than the text field?
I am still a novice so please simplify answer. I'm sure I am missing
something so any help would be most appreciated!!
Thanks!