Click here to Skip to main content
15,895,746 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hai,

i add a ID field as a Text in MS Access .It will store(for ex...,1,2,2A,2B,3,4,5,5A).I need retrieve the datas and order as a ascending order


Very urgent frients
Posted
Comments
[no name] 26-Jul-13 19:18pm    
Okay so add an ORDER BY clause to your query.

And no it's not urgent at all.
karunyarathin 26-Jul-13 19:34pm    
but it will order as a(1,10,11,12....,2,20,21,1A,1B,2A,2B).Because here i use the field as text(datatype)
[no name] 26-Jul-13 20:02pm    
Oh? That depends on how creative you are with the built in functions. See http://www.google.com/search?q=sql+string+sorting

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900