Question : Access 2007 RunTime - "The command or action 'Find' isn't available now."

Hello,

I have created a database in Access 2007 which is backended by MySQL.  When I deploy this database via the 2007 Developer Extensions everything seems to function correctly.  However, I have coded a button to use the "find" function so that my users can search the database for records which are pertinent to their needs.

Unfortunately, when they click this button, they get the error, "The command or action 'Find' isn't available now."  CTRL+F does not work either.  The code below is what was used to design the button which will search the form as needed.  Regrettably I have searched endlessly and cannot find a solution to this problem.  Sadly MS support for RunTime is nearly non-existent.

If anyone has a solution to this issue or any suggestions on further troubleshooting the problem, please let me know.  Also, if you need additional information I would be happy to provide it.  

Thank you!
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
Private Sub find_cp_Click()
On Error GoTo Err_find_cp_Click
 
    Screen.PreviousControl.SetFocus
    DoCmd.RunCommand acCmdFind
 
Exit_find_cp_Click:
    Exit Sub
 
Err_find_cp_Click:
    MsgBox Err.Description
    Resume Exit_find_cp_Click
    
End Sub

Answer : Access 2007 RunTime - "The command or action 'Find' isn't available now."

Random Solutions  
 
programming4us programming4us