Hi David,
I'm afraid I don't really understand this response (I've not done much with arrays), but it doesn't seem to work for my purpose.
No NULL is returned if there is no result (i.e. cat = 50); instead, there's simply no rows.
What aspect of Arrays is this trying to take advantage of?
Cheers,
Jonathan