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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Seperating Date information

Status
Not open for further replies.

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?
 
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
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top