Results 1 to 2 of 2
  1. #1
    louislinti is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Oct 2013

    Making Access display records sequentially

    I don't know if this is possible, but I am new at this. I have records of vehicles numbered from B1 to B300. Can I make Access display records in the sequence B1 B2 B3 B4 B5 instead of B1 B10 B100 B101 etc?

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    The Great Land
    Those values are subject to alpha sort. If the values were B001, B002, B003, ... B300, then they would sort as you want. Otherwise, have to do some tricks in query to extract the number part. Do the values always begin with a single letter?

    SELECT * FROM tablename ORDER BY Int(Mid([fieldname],2));
    How to attach file: To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 18
    Last Post: 04-08-2011, 09:20 PM
  2. Sequentially number records in a table field
    By in forum Programming
    Replies: 4
    Last Post: 04-08-2011, 08:24 PM
  3. Replies: 7
    Last Post: 10-20-2010, 04:08 PM
  4. Replies: 2
    Last Post: 09-10-2009, 08:21 AM
  5. Replies: 1
    Last Post: 03-22-2007, 10:19 AM

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 - Senior Forums