Hey there, Is there any way of using a variable passed through on the query string to specify what the in command is sorted on, i just get an error if i try to use any type of variable... Any help would be appreciated, Cheers, Phil. ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com