Create Computed Column

You can create functions that can be used for a particular query.  This is advantageous because it allows you to quickly and easily create these functions without the hassle of writing formulas.

The following window is shown

help136.gif (6757 bytes)



The functions found here are not JReport system functions.   They are from the connected database you use.  Thus, if you change your data source, some of these functions may no longer exist.  For each database, the different supported functions list will be returned.

The following list of functions shown below is to give you some help in writing an expression. We used Access 97 as the database source.  For more detail about any function shown, you should refer back to your database manual.  

String:

Numeric:

help134.gif (1081 bytes)


+ icon:
Add numbers or fields together in the Expression menu.
-  icon: Subtract numbers or fields together in the Expression menu.
*  icon: Multiply numbers or fields together in the Expression menu.
/  icon: Divide numbers or fields together in the Expression menu.

help135.gif (1099 bytes)


= icon:
Equate fields together
"  icon: Place quotations on long character strings or name that have blanks in them (example: place quotes on values like "New York" or "Washington DC")
||  icon: Allows you to place fields together in the same Expression menu. (example: "New York" || "Washington DC")
( ) icon: Place your fields in parentheses