Add "US$" before the number

Dear,

The following is my invoice report:
Sub Total : 117
Shipping Charges: 30
Total: 147

I want to show the "US$" before the number. If the number is NULL. It will not show anythinks.
e.g 1: Sub Total : US$117
Shipping Charges: US$30
Total: US$147

e.g 2: Sub Total : US$230
Shipping Charges:
Total: US$230

How to do this? Pls help!

Comments

  • edited 12:12PM
    Hello,

    you can add a script directly in the memos.

    begin
    memo := '';
    if [MyTable."Field"] >0 then memo := 'US$'+[MyTable."Field"];
    end;

    Pierre

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.