K
kMan
Hello guys,
I have a table, say tblItem, with a primekey. The second table, say
tblCustomer, contains the foreign key to the first table with a 1-to-many
relationship. That is for an item in tblItem, there may be one or more
entries in tblCustomer.
What i would like to do is to make a query such that it returns distinct
items in tblItem. However, one column should list the lastnames of the
customers separated by comma. eg:
item1_PK | item1_Name | item1_Price | blog, jo, john
...... and so on
is it possible to do this? if so what would the expersion for the last field
need to be?
Reason for wanting this is to produce a report in this format... I'm using
Access 2003.
Thanks for your help
I have a table, say tblItem, with a primekey. The second table, say
tblCustomer, contains the foreign key to the first table with a 1-to-many
relationship. That is for an item in tblItem, there may be one or more
entries in tblCustomer.
What i would like to do is to make a query such that it returns distinct
items in tblItem. However, one column should list the lastnames of the
customers separated by comma. eg:
item1_PK | item1_Name | item1_Price | blog, jo, john
...... and so on
is it possible to do this? if so what would the expersion for the last field
need to be?
Reason for wanting this is to produce a report in this format... I'm using
Access 2003.
Thanks for your help