V
Vic Spainhower
Hello,
I am trying to do a search on a specific field on a form. The user selects
the field they want to search from a drop-down and I set the focus to the
field and then I do "DoCmd.DoMenuItem acFormBar, acEditMenu, 10, ,
acMenuVer70". However, it trys to search all fields instead of only the
desired field which brings up an error on Find Next because the focus has
changed which prevents FindNext from working.
The DoCmd.FindRecord has the option acCurrent so is there a way to set the
option when using DoCmd.DoMenuItem?
Thanks,
Vic
I am trying to do a search on a specific field on a form. The user selects
the field they want to search from a drop-down and I set the focus to the
field and then I do "DoCmd.DoMenuItem acFormBar, acEditMenu, 10, ,
acMenuVer70". However, it trys to search all fields instead of only the
desired field which brings up an error on Find Next because the focus has
changed which prevents FindNext from working.
The DoCmd.FindRecord has the option acCurrent so is there a way to set the
option when using DoCmd.DoMenuItem?
Thanks,
Vic