|
-
Jul 9th, 2011, 02:25 PM
#29
Re: Parse text file or xml into listboxes
 Originally Posted by ice_531
Also, having some trouble with your code for sorting. Some of the fields in distance will not be numbers. but the word "Unknown"
How about instead of 'Unknown' you put in a value of minus one ? You might have to adjust the leading zero bit to account for the '-' sign (they'd then sort to the top), alternatively you could put a value greater than the radius of the earth (they'd sort to the bottom), then after the sort you could change them to 'Unknown' if required
Last edited by Doogle; Jul 9th, 2011 at 02:30 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|