Results 1 to 2 of 2
  1. #1
    cathyspark is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Sep 2011
    Posts
    1

    Numbers in a table


    I have set up a basic database for stock control in a small business. I had sifferent tables for different areas of stock and had numbered them A101 A102 A103. This worked fine till I came to A999 and when I went to A1000 the number stoped appearing in order. Now my number go A1009 A101 A1011.

    Does anybody know how I can get them back in order.

  2. #2
    Robeen is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Mar 2011
    Location
    Tulsa, Oklahoma.
    Posts
    1,593
    Are you saying your TABLE NAMES are A101 A102 A103 . . . A1009 A1011 . . . etc?

    Is Changing your Table Names an option?

    I've run into this problem when I was naming files that I regularly output like this:
    FileName_01-10-2009.txt
    FileName_01-15-2006.txt
    FileName_05-10-2007.txt

    these get sorted by the first digit - then the first two digits . . .
    So - the files above - when sorted - appear in the order shown above . . . when you'd actually like to have them appear in chronological order like this:
    FileName_01-15-2006.txt
    FileName_05-10-2007.txt
    FileName_01-10-2009.txt

    If you want to keep your naming convention that you set the original Tables up with, you could add a digit to your three-digit table names.

    These:
    A101 A102 A103

    Would become:
    A0101 A0102 A0103

    Then your Tables will line up the way you want.

    I don't know how heavily 'invested' you are in those names, however.
    I have got myself into serious trouble changing table names late in the process.

    If you have tons of queries, reports etc that already use the existing tables - changing their names could become nightmarish and I would not advise it.

    Alternatively - if you can program your brain to think of the ordering the way Access does - the way your tables are arranged will become 'logical' to you.



    All the best!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. numbers to words
    By chavez_sea in forum Access
    Replies: 14
    Last Post: 01-16-2013, 07:25 PM
  2. Replies: 11
    Last Post: 07-14-2011, 03:03 PM
  3. Format numbers
    By gauja in forum Access
    Replies: 2
    Last Post: 05-10-2011, 12:00 PM
  4. numbers
    By Balen in forum Access
    Replies: 1
    Last Post: 08-17-2010, 05:16 PM
  5. Replies: 9
    Last Post: 11-23-2009, 09:20 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
  •  
Other Forums: Microsoft Office Forums