J
Jon
Hi,
I'd be grateful for some help. I'm using Access 2003.
I've created a button on a form to find a record in my db, using the wizard,
based on a person's surname.
Looking at the VB under "Build Event" the code shows the following:
Private Sub Find_Surname_Click()
On Error GoTo Err_Find_Surname_Click
Forms!frm_All_People!Surname.SetFocus
Rem Screen.PreviousControl.SetFocus
DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70
Exit_Find_Surname_Click:
Exit Sub
Err_Find_Surname_Click:
MsgBox Err.Description
Resume Exit_Find_Surname_Click
End Sub
However, when the "Find and Replace" box opens, the "Match" field displays
"Whole Field" whereas I would like it to display "Any Part of Field".
What should I add to the code to do this.
Thanks
Jon
I'd be grateful for some help. I'm using Access 2003.
I've created a button on a form to find a record in my db, using the wizard,
based on a person's surname.
Looking at the VB under "Build Event" the code shows the following:
Private Sub Find_Surname_Click()
On Error GoTo Err_Find_Surname_Click
Forms!frm_All_People!Surname.SetFocus
Rem Screen.PreviousControl.SetFocus
DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70
Exit_Find_Surname_Click:
Exit Sub
Err_Find_Surname_Click:
MsgBox Err.Description
Resume Exit_Find_Surname_Click
End Sub
However, when the "Find and Replace" box opens, the "Match" field displays
"Whole Field" whereas I would like it to display "Any Part of Field".
What should I add to the code to do this.
Thanks
Jon