Advertisement

06.16.2008 at 09:51AM PDT, ID: 23488848
[x]
Attachment Details

After clicking the search button on the search form, How can I get the listbox to populate with only matching criteria?

Asked by laajsab in Access Forms, Microsoft Access Database, Access Coding/Macros

Tags: Microsoft, Access, 2003, Listbox

In my  Microsoft Access database, I have a search form with the following specifications (also see attached snapshot):
At the top - I have two search fields (last name and first name).  If user enters data in both, will search for both fields; otherwise, it will only search for the field that data is entered.

In the middle - I have a listbox, which will display matching search results - showing last name, first name and birthdate (id is hidden) after the Search button is clicked.

In the last section, I have 4 command buttons - search , view selection, add client, exit.  When user makes a selection and click View Selection, it will take the user to a different form showing detail information.  Thanks!Start Free Trial
Attachments:
 
snapshot of the search-results form
snapshot of the search-results form
 
[+][-]06.16.2008 at 10:18AM PDT, ID: 21795580

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.16.2008 at 10:25AM PDT, ID: 21795635

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Access Forms, Microsoft Access Database, Access Coding/Macros
Tags: Microsoft, Access, 2003, Listbox
Sign Up Now!
Solution Provided By: SugarMag76
Participating Experts: 2
Solution Grade: A
 
 
[+][-]06.16.2008 at 11:28AM PDT, ID: 21796152

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.16.2008 at 01:03PM PDT, ID: 21796965

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.16.2008 at 07:24PM PDT, ID: 21799148

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.16.2008 at 08:44PM PDT, ID: 21799422

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628