Adding formula fields to a query

Besides the table columns, you can also add some formula fields to a query.

To add a formula field to a query:

  1. In the Query Editor window, click Column > Add Formula Field on the menu bar.
  2. In the Add Formula Field dialog, choose the required formula in the Formulas box and then click Add. The formula will then be placed into the criteria panel in the lower part of the Query Editor, which means that you can reference the formula in the query.
  3. Repeat the above step until you have added all the required formula fields, and then click Close. The formulas are added to the current query.

Notes: