Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

changing default search on a form

Status
Not open for further replies.

zionman4

Programmer
Mar 12, 2003
48
US
Hello everyone,
When doing a search on data in an Access form, the dialog box comes up with the "match" drop down defaults to "whole field". Is there anyway to make this default to "any part of field" instead or "Start of the Field"?...

Thx!
 
FYI,
Here is the code for the above question according to the MSN article:

Based on a search for a field named "Last_Name":

DoCmd.GoToControl "Last_Name"
Screen.ActiveControl.SetFocus
SendKeys "%hs%n", False
RunCommand acCmdFind
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top