Find Defaults

J

James

How do you make the database find defaults general search for the current
database only? I assume you would add somesort of code to the onload section.
 
W

Wayne Morgan

This will return the current setting (0-2), so that you can set it back to
where the user had it when you close your database. Store this somewhere
that it won't be "forgotten", such as in a "settings table".

Application.GetOption("Default Find/Replace Behavior")

This will set it to where you want it.

Application.SetOption "Default Find/Replace Behavior", 1
 
J

James

Thank you for your help!

Wayne Morgan said:
This will return the current setting (0-2), so that you can set it back to
where the user had it when you close your database. Store this somewhere
that it won't be "forgotten", such as in a "settings table".

Application.GetOption("Default Find/Replace Behavior")

This will set it to where you want it.

Application.SetOption "Default Find/Replace Behavior", 1
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top