Hello Douglas.
I tried that. Now it shows no records.
SELECT DISTINCT [PENDING ORDERS].[COMPANY NAME] FROM [PENDING ORDERS];
Thanks.
Tony
Douglas J. Steele said:
Then change your row source to be a SQL statement, like Fred suggested.
--
Doug Steele, Microsoft Access MVP
(no e-mails, please!)
Hello Fredg.
My Row Source only has the name of the table. The bound column tells
it
which column of the table to use.
Thanks,
Tony
On Tue, 20 Dec 2005 16:20:11 -0500, Tony Girgenti wrote:
Hello.
I have a form with a combo box that has a a Rwo source type of
Table/Query
and a Row Source of a table with customer names displayed in the
combo
box.
The table has duplicate customer names.
How do i only display one occurance of the customer name in the combo
box
when they use the drop down arrow ?
Thanks,
Tony
Change the Row Source of the Combo box from
Select TableName.CustomerName ... etc.
To
Select Distinct TableName.CustomerName ... etc .
One way to determine if the SQL is correct is to click on the little
button with the 3 dots on the Row Source line. Run the query. If it
returns the correct records, then the SQL is correct and your problem
lies elsewhere.
Perhaps you didn't set the column width property to a value more than
Zero. Or you have an incorrect Column count set.
Is the name of the table "Pending Orders"?
Is the name of the field "Customer Name"?
Is the Column count property set to 1?
Is the column width property set to about 1"?
If so that should work.