The following table lists examples of expressions that you can use in calculated controls on forms, reports, and data access pages.
Expression | Description |
---|---|
=[Subtotal] + [Freight] | The sum of the values of the Subtotal and Freight fields. |
=[RequiredDate] - [ShippedDate] | The difference between the values of the RequiredDate and ShippedDate fields. |
=[Price] * 1.06 | The product of the value of the Price field and 1.06 (adds 6 percent to the Price value). |
=[Quantity] * [Price] | The product of the values of the Quantity and Price fields. |
=[EmployeeTotal] / [CountryTotal] | The quotient of the values of the EmployeeTotal and CountryTotal fields. |
=Msodsc.Nz([Subtotal]) + Msodsc.Nz([Freight])