Jun 21, 2006 #1 dandot Programmer Jul 19, 2005 53 CA In a table I have a text field that takes data like : Aug 2005, Nov 2005, Dec 2005... etc. Is there a way I could seperate this info to take the mm and year seperately for sorting purposes?
In a table I have a text field that takes data like : Aug 2005, Nov 2005, Dec 2005... etc. Is there a way I could seperate this info to take the mm and year seperately for sorting purposes?
Jun 21, 2006 #2 PHV MIS Nov 8, 2002 53,708 FR You may try something like this (SQL clause): ORDER BY CDate('01' & [your text field]) Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886 Upvote 0 Downvote
You may try something like this (SQL clause): ORDER BY CDate('01' & [your text field]) Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
Jun 21, 2006 #3 PHV MIS Nov 8, 2002 53,708 FR OOps, missed a space: ORDER BY CDate('01 ' & [your text field]) Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886 Upvote 0 Downvote
OOps, missed a space: ORDER BY CDate('01 ' & [your text field]) Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886