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

order by not behaving the way i expect

Status
Not open for further replies.

gtbikerider

Technical User
Joined
May 22, 2001
Messages
81
Location
GB
I have records in the db (Access) eg 1, 2, 15, 21. When I "order by" in the SQL statement

instead of getting 1,2,15,21
I actually get 1,15,2,21

Why is is not ordering the way I expect? --
John Carratt
 
Make sure your field in the database is a numeric type, not text. Calista :-X
Jedi Knight,
Champion of the Force
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top