Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Sep 2006
    Posts
    166
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Decimal places in concatenation (Access 2000)

    Can i limit the decimal places to 2 in the concatenated form? When i conctenate the control "payment",the decimal places are not limited to 2.But when i put the control alone in the report, the decimal places are all right, they are limited to 2.My concatenation is :
    to the value of " & "" & [payment] & " euro

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Decimal places in concatenation (Access 2000)

    You can solve this in different ways:

    1) Set the Control Source of the text box to the Payment field, and set the Format property to
    <code>
    "To the value of "0.00" Euro"
    </code>
    (The point . is the decimal separator; if your system uses a comma as decimal separator, use that instead of a point)

    2) Set the Control Source of the text box to
    <code>
    ="To the value of " & Format([Payment],"0.00") & " Euro"
    </code>
    (The point is the decimal separator and the comma is the list separator)

  3. #3
    2 Star Lounger
    Join Date
    Sep 2006
    Posts
    166
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Decimal places in concatenation (Access 2000)

    Thank you for the advice.I am still in trouble with the commas, but i hope to do it alone

Posting Permissions

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