Hi All, well, I resolved my own problem (You know the old saying about"if I had any brains I'd be dangerous ;-))I had a misnamed variable, so once I renamed it, the ordered byworked.
Thanks for the answers I did get.
Kenkvp(at)ocol(dot)com