ivanteo
04-26-2002, 12:56 AM
i want to sort my data according to weeks in ascending order. problem is because i use the Format$ function to get display in weeks from the date, ie WW: Format$([date],"yyyy-ww"), the sorting gives me WW= 2001-1 first followed by 2001-10, then 2001-11,2001-12 and then 2001-2,2001-21,2001-22.basically, the system looks at the first digit and sorts accordingly but what i need is in the order of 1,2,3,4,5......,10,11,etc.
hope this explanation of my problem is clear. any ideas on how to deal with this?
hope this explanation of my problem is clear. any ideas on how to deal with this?