Previous Topic

Next Topic

Analysis Expression

Navigator > Reports > Sales / Purchase / Job Analysis > Analysis Report Designer > Fields tab > Expression Field CodeEdit Lookup button (F2)

The Analysis Expression window allows you to use MaxBasic programming code to write a MaxBasic Expression. Expression editing and customisation are recommended for Users with programming skills.

Drop down menus

MenuPopup

Operators (Alt+O)

Lists MaxBasic operators.

MenuPopup

Functions (Alt+F)

MaxBasic functions. When you select a function that expects arguments, parentheses and commas for the arguments are shown with the pointer at the first argument, for example, InStr(|, )

Help for a function, detailing the arguments, is available from the final option in the menu, or by pressing F1 or selecting from the context menu (right click) with the cursor positioned in the function name in the editor.

MenuPopup

Fields (Alt+L)

Lists the fields available to the report.

If there are previously defined Calculated Custom fields, these will be available as Z_Calculated1, Z_Calculated2... Z_Calculatedn, in the order they appear in the fields tab. These can be used in other calculations.

MenuPopup

Help (Alt+H)

Access resources including descriptions, documentation and sample code.

 

Snippet (Alt+T)

Insert a code Snippet. Snippets are listed alphabetically, and the first line of each snippet is displayed.

Buttons

Save (F9)

Save the expression and exit the window.

Cancel (Esc)

Discard changes and exit the window.

See Also

PA Report Designer - Fields tab

Book Contents

Book Index