Link to home
Start Free TrialLog in
Avatar of Milewskp
MilewskpFlag for Canada

asked on

Default Find/ Replace behaviour

Under Tools/ Options/ EditFind/ Default find/replace behaviour, there are three options:
"         Fast Search: Search only the field the cursor is currently in; match whole field.
"         General Search: Search entire table; match any part of field.
"         Start Search: Search only the field the cursor is currently in; match only first characters of field.

Is there any way (using code or otherwise) to set the default behaviour to: Search only the field the cursor is currently in and match any part of field?
Avatar of Joe Overman
Joe Overman
Flag of United States of America image

Assuming you are wanting look on a form you could use this statement attached to a command button:

DoCmd.FindRecord "search value", acAnywhere, , acSearchAll,,acCurrent,
Avatar of Milewskp

ASKER

Hi masterjojobinks,
I want to change the default behaviour of the built-in find/replace feature.
ASKER CERTIFIED SOLUTION
Avatar of Joe Overman
Joe Overman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Sorry, would not could.
You might try this as part of your own interface:
http://allenbrowne.com/AppFindAsUType.html
Avatar of puppydogbuddy
puppydogbuddy

try this:
       Application.SetOption ("Default Find/Replace Behavior"), 2 'Start of field search
Hi puppydogbuddy,
That option doesn't do what I want.
Hi Milewskp,
The only other options I am aware of are:

 Application.SetOption ("Default Find/Replace Behavior"), 0 'Fast SearchCode:
 Application.SetOption ("Default Find/Replace Behavior"), 1 'General Search

You are welcome to try, but I don't believe they do what you want either.
Thanks!