Excellent tips Myles, thank you. I was thinking about the database query for a while but I forgot that it was a simple join. I wish I had realized it sooner!