I have a table containing following fields:
Brand name, Manufactor, Contact name, contact mail, and Phone
The Brand name is unique. But the manufactor might have several brand names.
I want to create a query that shows a list of the manufactors, but they must
only be shown once.
Can anybody help me with this, please.
Thanks in advance
Nikos Yannacopoulos - 23 May 2005 13:16 GMT
Poul,
Start making a new query in design view, add no table, then revert to
SQL view and paste the following expression:
SELECT DISTINCT Manufactor FROM MyTable
replacing MyTable with the actual table name. This should do the job.
HTH,
Nikos
> I have a table containing following fields:
> Brand name, Manufactor, Contact name, contact mail, and Phone
[quoted text clipped - 3 lines]
> Can anybody help me with this, please.
> Thanks in advance
David Lloyd - 23 May 2005 13:18 GMT
One approach would be to create a separate table for Manufacturers. You
could then assign a ManufacturersID number to each manufacturer and replace
the Manufactor field in your table with the a ManufacturersID field with
corresponding ManufacturersID for each Brand Name.

Signature
David Lloyd
MCSD .NET
http://LemingtonConsulting.com
This response is supplied "as is" without any representations or warranties.
I have a table containing following fields:
Brand name, Manufactor, Contact name, contact mail, and Phone
The Brand name is unique. But the manufactor might have several brand
names.
I want to create a query that shows a list of the manufactors, but they must
only be shown once.
Can anybody help me with this, please.
Thanks in advance
Nikos Yannacopoulos - 23 May 2005 13:39 GMT
... actually, the right approach!
Nikos
> One approach would be to create a separate table for Manufacturers. You
> could then assign a ManufacturersID number to each manufacturer and replace
> the Manufactor field in your table with the a ManufacturersID field with
> corresponding ManufacturersID for each Brand Name.