Sorting using the OrderBy Property

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have set the OrderBy with the following code:

HiPlanNames.LastUpdated DESC

That works well for just one field, but I need now to
include another field (ST) wich should be sorted in
ascending order; when I put it in after the above, it
won't do it.

HiPlanNames.LastUpdated DESC;HiPlanNames.ST

Any suggestions or ideas, please ???
 
Hi,

I have set the OrderBy with the following code:

HiPlanNames.LastUpdated DESC

That works well for just one field, but I need now to
include another field (ST) wich should be sorted in
ascending order; when I put it in after the above, it
won't do it.

HiPlanNames.LastUpdated DESC;HiPlanNames.ST

A semicolon indicates the end of an SQL statement, use a
comma to separate the two fields.
 
Back
Top