Results 1 to 3 of 3
  1. #1
    sharkey_lsu is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Aug 2013
    Posts
    31

    number value display

    Hi,



    I have a question regarding the display of a list of numbers that are stored into a field of my database. Currently the numbers are comma-delineated which is fine with me, but I was wondering if there is a way to change the display of those numbers on the form so that it is easier to read.
    Example:

    current format - 1,2,3,4,7,8,9,10
    desired format - 1-4, 7-10

    Any help would be greatly appreciated.

    Thanks!!

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,601
    This would require rather complicated custom VBA function.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,847
    sharkey,

    It might help readers if you described WHAT you are trying to accomplish. As June7 says it would/could involve a custom function. There may be other ways/options to get what you want if we knew the underlying issue.

    Also, having multiple values in a field could be part of your issue. Microsoft has made multivalued fields possible, but most people avoid this construct.

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

Similar Threads

  1. display order number
    By Hopeless in forum Forms
    Replies: 3
    Last Post: 08-25-2012, 06:46 PM
  2. Replies: 1
    Last Post: 03-03-2012, 09:45 PM
  3. Access 2007: Can't Display 17 Digit Number
    By HedgeHog in forum Access
    Replies: 9
    Last Post: 08-14-2011, 01:46 PM
  4. Replies: 6
    Last Post: 07-25-2011, 01:54 PM
  5. Replies: 6
    Last Post: 04-19-2011, 08:12 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