Remove spaces from a set of numbers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tania777
    New Member
    • Mar 2010
    • 1

    Remove spaces from a set of numbers

    How can i remove the spaces from the group of numbers below?
    11 222 33 4444 555

    This is an access DB table and it's a field named JOIN_PNUM
    I need to make the number look like:
    11222334444555.
  • Atli
    Recognized Expert Expert
    • Nov 2006
    • 5062

    #2
    Moved to the Access forum. Please try to post your questions in the appropriate forms. Thanks.

    Comment

    • missinglinq
      Recognized Expert Specialist
      • Nov 2006
      • 3533

      #3
      Where are you trying to do this? In a Form? In a Query?

      The simplest way would be to create a be to create Query based on your table, with a calculated field based on JOIN_PNUM.

      How you do this will need to be based on the version of Access you're running.

      With version 2003 or later, something like
      Code:
      NEW_JOIN_PNUM: Replace([JOIN_PNUM], " ","")
      Now simply use the Query as the base for your forms/reports and use NEW_JOIN_PNUM in place of JOIN_PNUM.

      Welcome to Bytes!

      Linq ;0)>

      Comment

      Working...