Coded Find button not search subfrm

G

Guest

My find button that I placed on my form wont search my
subform, even though I know the record I am searching for
is there!
Here is the code...PLEASE HELP ME!


On Error GoTo Err_cmdFind_Click


Screen.PreviousControl.SetFocus
DoCmd.DoMenuItem acFormBar, acEditMenu, 10, ,
acMenuVer70

Exit_cmdFind_Click:
Exit Sub

Err_cmdFind_Click:
MsgBox Err.Description
Resume Exit_cmdFind_Click

End Sub
 
Top