Wrox Programmer Forums
|
VB Databases Basics Beginning-level VB coding questions specific to using VB with databases. Issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB Databases Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 11th, 2007, 02:25 PM
Registered User
 
Join Date: Jan 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default sorting address numbers

I need to sort on a field that has address numbers. Some are strait numbers, (1223) some are numbers and letters (123 A), and some are numbers and fractions (123 1/2). How can I approach sorting so that I can get results such as 1 2 3 A 4 5 25 231/2 26 B, etc.

Thank you,

Bob

Bob Peterson
Foster, RI
[email protected]
 
Old June 11th, 2007, 02:30 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

hi there...

you want to sort letters in the middle of numbers?? or complete fields??? because there is no logical explain (even outside programing) to have A between 3 and 4... can you write a better example??
(original fields, sorted fields, some idea that explain how to sort that way)...

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========





Similar Threads
Thread Thread Starter Forum Replies Last Post
Sequential Numbers ricespn Access 5 February 17th, 2007 02:54 AM
Adding numbers Hudson40 Excel VBA 3 November 23rd, 2005 03:02 AM
Datagrid sorting by non alphabetical sorting? LLAndy VS.NET 2002/2003 1 July 15th, 2004 01:20 AM
Retreiving IP address & gateway address sjangit VBScript 0 February 3rd, 2004 02:02 PM
formating numbers renee_santoscoi Visual C++ 0 December 8th, 2003 06:00 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.