• Hi Mahesh

    thanks for your quick reply.

    What you have posted is exactly what i was after. Except, it doesn't return all categories. i think it ignores Categories which have a 0 (zero) count value.

    any ideas on how to get around this?

    Thanks

    Wayne