• Decimal places in concatenation (Access 2000)

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Decimal places in concatenation (Access 2000)

    Author
    Topic
    #435882

    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

    Viewing 0 reply threads
    Author
    Replies
    • #1031639

      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

      "To the value of "0.00" Euro"

      (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

      ="To the value of " & Format([Payment],"0.00") & " Euro"

      (The point is the decimal separator and the comma is the list separator)

      • #1032022

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

    Viewing 0 reply threads
    Reply To: Decimal places in concatenation (Access 2000)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: