Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
| Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access 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
  #1 (permalink)  
Old January 19th, 2007, 12:56 AM
Authorized User
 
Join Date: May 2006
Location: delhi, delhi, India.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default number not finding in ascending order

hi,
everyboy, thanks for helping me time to time. Please once again i want some help from your end. the problem is I have a table with pk and another filed which i gave manul number from 1 to 488. But when i make a report then i want the report come according to asending number which i gave manually. But it does not come it come redumly.
like
1 harish
10 naresh
2 subhash
 it should come like
1 harish
2 subhas

thanking you,


from harish mankoti

  #2 (permalink)  
Old January 19th, 2007, 01:07 AM
Friend of Wrox
 
Join Date: May 2006
Location: San Diego, CA, USA.
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It is very likely that the data type of the field is not numeric. It is a text sorting that you are showing. Are you storing more than just a number in that field? If not, change it to a numeric field. Otherwise, you can fake the numeric sorting by storing a 3 digit number: 001, 002, 003 ,004 and so on to to 488. Make sense?

Woody Z
http://www.learntoprogramnow.com


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help: Finding smallest number kris.fan Infopath 0 September 9th, 2007 07:18 PM
Listing dates ascending lgschulz VB.NET 2002/2003 Basics 1 December 19th, 2006 09:22 AM
parseInt - sort ascending crmpicco Javascript How-To 3 July 5th, 2005 09:13 AM
Sort ascending and descending bertcox XSLT 1 May 17th, 2004 05:36 AM
How to create a sequential order number? evilandy Access ASP 2 September 24th, 2003 12:06 AM





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