>You can wrap them into MIN or MAX
...
MIN(SomeFunc1(WS_IP)) AS WS_IP_OrderBy, ;
MIN(SomeFunc2(PDomain)) AS PDomain_OrderBy, ;
MIN(SomeFunc3(FDomain)) AS FDomain_OrderBy, ;
...
That's a clever trick - I'll remember this, I may be able to use it in future. Thanks.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up