Find Control on Form link to subform

  • Thread starter Thread starter Laura
  • Start date Start date
L

Laura

Please, I put a find command button on my form, but it
wont find anything in the subform i have! It wont bring
up records that I know exist
 
Private Sub cmdFind_Click()
The Code is really basic, but it wont search my subforms
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
 
Back
Top