Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • insert a Table Data macro

    • name it "purchaseTable".

  • edit the parameters

    • set Initial Rows is 1

Inside the Table Data macro

  • create a 4x 2 4x2 table as below

    • add to teach column in the header row Item; Unit Price; Quantity; Total Price

Item

Unit Price

Quantity

Total Price








For this example, we will give add the macros the following names :for each macro

  • Text Data: item

    • Number Data: unitPrice

    • Number Data: quantity

    • Evaluate Data: totalPrice

...

Code Block
${unitPrice} * ${quantity}
Info

The Evaluate Data macro should now look as below.

...

Underneath the Table Data macro you created above

...

Add four Evaluate Data macros for each of the values above and give them relevant names, as below


For each of these Evaluate Data macrosmacro

  • enter the following in the Display Format properties

    Code Block
    $ #,##0.00

Type in the following codes in the respective Evaluate Data macros

...


The Evaluate Data macros should look similair to the following.


  • Save/Update the page

  • choose Edit Contents

    • input the values "10" and "0.5" respectively for the Discount percentage and Tax percentage fields

...