M
Musa via AccessMonster.com
I used the wizard to create a Search Button . The problem with the button is
that it doesn't consistently work. Sometimes, I get "You can't use Find or
Replace now." when I open the database form. I have the form data entry
property set to NO. The data mode is set to Add.
Do you have any idea why this would not work?
Thanks..
Private Sub Command55_Click()
On Error GoTo Err_Command55_Click
Screen.PreviousControl.SetFocus
DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70
Exit_Command55_Click:
Exit Sub
Err_Command55_Click:
MsgBox Err.Description
Resume Exit_Command55_Click
End Sub
that it doesn't consistently work. Sometimes, I get "You can't use Find or
Replace now." when I open the database form. I have the form data entry
property set to NO. The data mode is set to Add.
Do you have any idea why this would not work?
Thanks..
Private Sub Command55_Click()
On Error GoTo Err_Command55_Click
Screen.PreviousControl.SetFocus
DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70
Exit_Command55_Click:
Exit Sub
Err_Command55_Click:
MsgBox Err.Description
Resume Exit_Command55_Click
End Sub