Dude you rock!!! That is awesome, worked an absolute treat, just what i was after
Only been using Flex for a few months and I'm still relatively new to SQL too, got so much to learn!
Your advice here has been so helpful, this site is such a great source of knowledge, quite humbling really!
Once again thank you so much for your help here, you've been very in depth about every question, do you have a tutorial site? If you don't you should

lol
Anyway, thanks again for all your help, can't thank you enough
You're a hero!
Peace!