Query by form
- From: "Tom" <Thomas.T.Holman@xxxxxxxxx>
- Date: 29 Jun 2006 07:23:43 -0700
Hello,
I have a database of employee data in access and I am trying to create
a form with combo boxes for criteria (ex. gender, office, position,
etc.) that let the user select criteria from drop down menus (ex. they
may select Male, New York, Manager) and those criteria will be used to
run a query (ie Query by Form). I can do this with text boxes but when
I tried to use combo boxes no records were returned in the query. Any
idea what I am doing wrong?
Also, is there an easy way to remove duplicates from the combo boxes?
They are getting their entries/selections from the data table and are
displaying duplicates. For example, if the data table contained 5 rows
of data with 3 men and 2 women, then the Gender combo box would contain
something like: Male, Female, Male, Male, Female.
Thanks.
.
- Follow-Ups:
- Re: Query by form
- From: fredg
- Re: Query by form
- From: pietlinden
- Re: Query by form
- Prev by Date: Re: Painting the MDI Form with Desktop in VB6
- Next by Date: CopyFromRecordset Error
- Previous by thread: How to open a QUERY made in MSAccess2002 in VB6?
- Next by thread: Re: Query by form
- Index(es):
Relevant Pages
|
|