Passing Sort Order as Paramter

Posts   
 
    
Anthony
User
Posts: 155
Joined: 04-Oct-2006
# Posted on: 20-Feb-2009 02:34:20   

dotnet2,llblgen 2.6,adapter

Any suggest how i would pass the sort order(1 or more fields) as a parameter to a function.

Walaa avatar
Walaa
Support Team
Posts: 14983
Joined: 21-Aug-2005
# Posted on: 20-Feb-2009 11:02:04   

Why don't you pass a SortExpression which is a collection, and thus the first item will be the first in order to be used.