Conditional display of text in a query result

G

Guest

I have a table like
Person ItemA ItemB ItemC
1 14 1
2
3 2 1 3

From these data, I want to create a query to display results like
Person Item(s)
1 A, C
2
3 A, B, C

(in other words, Item(s) should include display a comma separated list of
any non null items).

I've used IIF in Access for exclusive conditions, but I'm not sure what to
do for items which are not mutually exclusive.

Any advice would be appreciated!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top