traveller4
Programmer
I Am trying to take a company_name field in one table that has associated company names in a relational table.
tblCompany
MinFileID MinName
1234 Whole Parts
4567 Ret Parts
tblAsscCompany
ClientID ClientName
7891 Ackland
7892 Duport
7893 Atals
tblCompanyRel
ClientID MinFileID
7891 1234
7892 1234
7893 1234
My output is to have a single concantenated field listing all the related companies
tblCompany Table
MinFileID MinName NewConcantenatedClients
1234 Whole Parts Ackland, Duport, Atals
Is this easily achieved with a cursor
tblCompany
MinFileID MinName
1234 Whole Parts
4567 Ret Parts
tblAsscCompany
ClientID ClientName
7891 Ackland
7892 Duport
7893 Atals
tblCompanyRel
ClientID MinFileID
7891 1234
7892 1234
7893 1234
My output is to have a single concantenated field listing all the related companies
tblCompany Table
MinFileID MinName NewConcantenatedClients
1234 Whole Parts Ackland, Duport, Atals
Is this easily achieved with a cursor