<< Click to Display Table of Contents >> VpeSetFieldAsBoolean |
Sets the value of a Field as boolean (integer).
int VpeSetFieldAsBoolean(
VpeHandle hField,
int value
)
VpeHandle hField
Field Handle
int value
the boolean integer value that shall be assigned to the Field (0 = false; 1 = true)
Returns:
Value |
Description |
True |
if the field was found and its value could be set |
False |
Otherwise |
Remarks:
The Template Object itself offers a simple method to access a Field's value directly, i.e. without retrieving a Field Object first. See VpeSetTplFieldAsBoolean.
Example:
VpeSetFieldAsBoolean(hField, 1);
"dycodoc Template Processing" in the Programmer's Manual