Hello everyone. I have a form I using as kind of a menu. I'm using access '97 by the way. My form has two buttons. When the first button is clicked I want the form it opens to open in data entry mode. If the second button is clicked I would like the form to open NOT in data entry mode. How can I accopmlish this. I have tried the following code to open the form in data entry mode but it doesn't work.
Private Sub cmdNewAPQP_Click()
DoCmd.OpenForm "frmAPQP", acNormal
Forms!frmAPQP.DataEntry = True
DoCmd.Close acForm, "frmAPQPFrontEnd"
End Sub
I must be missing something. Can anyone help?
Thanks in advance,
Jason
Private Sub cmdNewAPQP_Click()
DoCmd.OpenForm "frmAPQP", acNormal
Forms!frmAPQP.DataEntry = True
DoCmd.Close acForm, "frmAPQPFrontEnd"
End Sub
I must be missing something. Can anyone help?
Thanks in advance,
Jason