Re: Posted before didn't get a response- populating dropdown 2 sources
- From: "BruceM" <bamoob@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 12 Jun 2006 14:07:19 -0400
I take it that you have a combo box on a form, but I do not follow the
details. When you say "populating the dropdown" are you referring to the
combo box row source? Why do job# and taxempt# appear in the same combo
box? What is the taxes table? Are you copying records from one table to
another? If so, that is at least part of the problem, as you should not be
doing that.
What is the purpose of your database? What real-world situation are you
attempting to address?
As a possible answer to your question, you could try adding the word
DISTINCT after SELECT in the row source SQL. Another way of doing this:
select the combo box, click View > Properties, click the Data tab, click Row
Source, click the three dots. In the query design view that appears, click
View > Properties, and set Unique Values to Yes.
However, if your database is not set up properly, you may not get the
desired result. In that case, you will need to describe the database
structure and relationships.
"babs" <babs@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:488EA099-1583-4447-A325-CED0D6D24A0A@xxxxxxxxxxxxxxxx
I have a drop down list for job# on a form called quotes showing the job#
and
taxexempt # based on client id. Right now I am populating the dropdown
based
on previous entries on the existing form that enter the data into a table
called quotes. I would like to do either of two things. 1. Add these
entries(one entry per clientid, job#,taxexempt#) into another table called
taxex table.
Definitely want to know at least this. Have the user be able to add
clientid, job#, and taxempt# to the Taxex table and it ALSO be able to
show
up in the dropdown as a choice as well as the records previously input
into
the quote entry form. Not sure how to pull from two sources and only
display
once if duplicates- for a given drop down.
Thanks so much,
Barb
.
- Follow-Ups:
- Prev by Date: Continuous Form for specific prompt
- Next by Date: Pop up text box
- Previous by thread: Continuous Form for specific prompt
- Next by thread: Re: Posted before didn't get a response- populating dropdown 2 sou
- Index(es):
Relevant Pages
|