Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2008
    Posts
    150

    Unanswered: How can I concatenate numbers and text?

    Hi,

    Is it possible to concatenate integer numbers and text? I am trying to concatenate a prefix text field (WO) with an AutoNumber field. I would like my output to look like this “WO0000001”.

    If I use the following format, I receive this output “WO1”.

    WO_Number: [WO_Prefix]& "" &[WO_Num]

    If I use the format below, I receive this output “#Error”.

    WO_Number: [WO_Prefix]+””+[WO_Num]

    What the heck am I doing wrong?

  2. #2
    Join Date
    Jun 2004
    Location
    Arizona, USA
    Posts
    1,848
    "WO" & Right("0000000" & [WO_NUM],7)
    Lou
    使大吃一惊
    "Lisa, in this house, we obey the laws of thermodynamics!" - Homer Simpson
    "I have my standards. They may be low, but I have them!" - Bette Middler
    "It's a book about a Spanish guy named Manual. You should read it." - Dilbert


  3. #3
    Join Date
    Sep 2008
    Posts
    150
    OMG! It worked.
    Thank you, thank you, thank you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •