Hi trevot,
Can you explain the above in more detail please?
Thank you
Open your database and look to add a new form in design vew.
Then look at add new controls, if using Access 2003 you have a controls toolbox toolbar, if using 2007 you would look to use the Design Tab and then select textbox.
You would add as many textbox tools as you need. Each one you should name so when creating the query you can identify the objects to check.
So say you add a single textbox, then open the properties for that textbox (Use right mouse button on the textbox and select properties). Under the All Tab at the top you can rename the object, so name it with txt and then give it a name, so I suggested something like:
txtName.
At this stage svae your form, (you can use
F12 on the keyboard as this takes you to Save As). Name the form
frmSearch.
Now you need to create a
query. So press F11 on the keyboard this will bring the Database Window to the front if using 2003, if using 2007 then just select the Create Tab.
New Query would include the table you need, then add the fields, once selected in the Persons Name field select the criteria and then look for an icon which when you place the mouse on top it will say
build wizard. In the feature you would search down the list on the left to find the
form you have created and then once you double click it in the middle column you need to select the field which in this example would be
txtName. Then click OK.
Save the query like
qrySearch. Then close the query.
Back on the form you would add a command button to open the query you just created, when you enter a persons name in the text box it should filter the query showing you just the people with that name.
You would then repeat this to give you the other fields to use as a search tool.
I hope this helps you.