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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

searching for a record in a form

Status
Not open for further replies.

billmsacces

Programmer
Feb 2, 2004
16
0
0
US
I am currently using the built in FIND feature in Access to find records in my database. The FIND feature works but it is clunky. Is there a code that would search specific fields in the database. I’m thinking of something like Query By Form, but instead of displaying the info in a datasheet, it would display it in my form.

The Form I'm using is based on a query called qryCite. (The query is based on tblName and tblPub). The form contains several fields, but the ones I'm interested in searching are txtPubDate, which is the publication date, and txtSurname, which is the last name of the individual. There is also txtFirstName, but it isn't crucial that that one is searchable.

Thanks.
B.
 
Have you tried to play with the Filter property and the DoCmd.ApplyFilter method ?

Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top