AssignHeader Property (FPScript)
Read access to the Header Information attribute of a data object. Read/write access to the Header Information attribute of the current formula.
Syntax
[DataObject].AssignHeader
or
[this].AssignHeader = Option
The syntax of the AssignHeader property consists of the following elements:
Element |
Description |
||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DataObject |
Optional. The data object being accessed. If you omit this element, then the current formula is accessed. For an embedded FPScript, you need to use the This keyword. |
||||||||||
Option |
Select one of the following constants:
|
Remarks
Determines the cases in which the header information of the formula should be assigned to the result.
Write access to the header information of a data object is only allowed for the formula that contains the FPScript code. You should only use this option in embedded FPScript. For standard formula objects, you should edit the attribute on theGeneral tab of the Properties dialog box instead.
Available in
FlexPro Basic, Professional, Developer Suite
Examples
\Formula.AssignHeader |
Provides the current attribute setting for the specified formula. |
.AssignHeader = fpAssignHeaderAlways |
Ensures that the formula header information is assigned to the formula result. |