Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sort

Status
Not open for further replies.

tictaclam

Programmer
Jan 8, 2004
47
US
Hi
I have a Recordset with one of it's catergories called "FinishDate" The date however is stored like 01/21/2004 and i would like to sort the record set by the year. Is there any way to do this without changing the format of the date? right now obj.sort = "FinishDate" sort by month. Thanks
 
you should now sort a got recordset. You should only get an already sorted recordset. For example, use a query like

rs = db.Execute("select * from xxx order by year")

Ion Filipski
1c.bmp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top