OK, I surrender! I've changed the way I get the data. I'm now using a view which contains a where clause to exclude the null, I can't see any other way to do it! Thanks so much for your help Brucevde!