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

search record base on multiple fields

Status
Not open for further replies.

quinbe

Programmer
Dec 30, 2004
62
0
0
US
Hi all
I've been searching in previous posts, could not reach the right solution.
I have a combo box which looks up data from another table and a text box for date select from a calendar in main form. I want to search for a record base on the combination of these two fields to display in subform.
Can any kind soul help me on this?
 
One way is to have a Search button in the main form and in its Click event procedure play with the RecordsetClone, FindFirst, NoMatch and Bookmark methods/properties of the DAO.Recordset/Form object.

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

Part and Inventory Search

Sponsor

Back
Top