C
cchick
I'm trying to use a macro, with the findrecord command, to locate a
record on a form.
I thought this would work, but I'm stuck.
I go to the control for the field I want to search
I open a dialog box form with an unbound text box for the
user to type in the search criteria
The dialog box has a button that says FIND
The Find button initiates the macro with the FindRecord
command.
But I can't figure out how to pass the information from the unbound
control on the dialog box to the Find What property of the FindRecord
command.
I tested by putting a value into the "Find What" section, but it would
only find the first occurrence, and no others. So I couldn't even get
that to work right.
I really just wanted to create an easier to use "find" box. It drives
me nuts that my users always have to select "Match Any Part of Field."
They always want to do that, and not "Whole Field."
Does this make sense? Do you have any suggestions? I guess I should
just learn VBA.
Cindy
record on a form.
I thought this would work, but I'm stuck.
I go to the control for the field I want to search
I open a dialog box form with an unbound text box for the
user to type in the search criteria
The dialog box has a button that says FIND
The Find button initiates the macro with the FindRecord
command.
But I can't figure out how to pass the information from the unbound
control on the dialog box to the Find What property of the FindRecord
command.
I tested by putting a value into the "Find What" section, but it would
only find the first occurrence, and no others. So I couldn't even get
that to work right.
I really just wanted to create an easier to use "find" box. It drives
me nuts that my users always have to select "Match Any Part of Field."
They always want to do that, and not "Whole Field."
Does this make sense? Do you have any suggestions? I guess I should
just learn VBA.
Cindy