Joining results into one cell ...

Dear Experts,

I have a database which links tradesmen to trades. The link is done through a table called TradeLinks (attached) which has the following numerical fields:


I need a query which will return the TradeIDs consolidated in one cell against each TradesmanID.  The results should be separated with a forward slash or maybe a colon

e.g. (numbers picked at random!)

TradesmanID       Trades
1                               1/5/77/86/140
2                               6/20/92/140/163/226
3                               25/36/38/112
4                               36/50/64/138/140
5                               50/101/126/139
6                               151/190/200/241

The data stats are as follows: There are 25,000 odd tradesmen and 200 trades.  The maximum number of TradeIDs against any TradesmanID is 12. I have attached an Excel export of the table if it helps

Can anybody help
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You can use Patrick Mattews DCONCAT function:
Look at sample with your data.

You should know, that such queries will be very slow, because each line of result will pass all table

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
correlateAuthor Commented:
Unbelievably brilliant - thank you so much, works a treat!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.