XPAC Reference Guide

Annotation expression examples

Annotation expression examples

Previous topic Next topic  

Annotation expression examples

Previous topic Next topic  

Note

The row codes used in these examples may not necessarily correspond with fields in your XPAC project. You will need to use row codes as setup in your Main database.

Expressions

To display the Panel Name (level 2) and Block Number (level 3), use either:

sPanelName & "/" & lBlockNum

OR

GetRecNameAtLevel(2) & "/" & GetApil(3)

To display the total block tonnage:

M(mWst_Ton) + M(mOre _Ton)

To display the Gold Grade followed by the units:

M(mOre_Au_Gde)& "g/t"

Conditional expressions

Display the Iron Grade for blocks with a value greater than 60%:

IIf(M(mOre_FeGrde)>60, M(mOre_FeGrde), "")

Display the strip ratio for all records allocated to Truck/Shovel:

IIf(M(mShv_Vol)>0, SafeDivide(M(mWst_Vol),M(mCl_Ton)), 0)