Results 1 to 3 of 3
  1. #1
    Star Lounger
    Join Date
    Mar 2001
    Location
    Eastern Pennsylvania, Pennsylvania, USA
    Posts
    97
    Thanks
    0
    Thanked 0 Times in 0 Posts

    add parsed numbers

    How can I add two fields each with a single parsed number (assigned by using (Left[],1))? Entering [fld1]+[fld2]in the control source returns a concatenated value.All fields are numeric,integer.Thanks

  2. #2
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    USA
    Posts
    386
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: add parsed numbers

    Use the CInt or CLng functions to return the values to integer values then add the two.

    CInt([Fld1]) + CInt([Fld2])


    Richard Aheron
    raheron@hotmail.com
    Richard

  3. #3
    Star Lounger
    Join Date
    Mar 2001
    Location
    Eastern Pennsylvania, Pennsylvania, USA
    Posts
    97
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: add parsed numbers

    Richard, thank you for your most wise information. I am always amazed how it is the small things that lead to the biggest headaches....Thanks again

Posting Permissions

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