field_offset

Returns the column offset of a field within the report page or window.

Available in:

Apps (win) Apps (char) Reportwriter RPC Standalone PL
X X X    

Syntax

int field_offset()

Notes

Valid only in field triggers.

Example

Calculates how much space is available between the field and the right edge of the page.
space_left = G.PAGEWIDTH - field_offset();