<< Click to Display Table of Contents >> VpeSetTplFieldAsBoolean |
Sets the value of a Field as boolean (integer).
int VpeSetTplFieldAsBoolean(
VpeHandle hTemplate,
LPCSTR data_source_prefix,
LPCSTR field_name,
int value
)
VpeHandle hTemplate
Template Handle
LPCSTR data_source_prefix
prefix of the Data Source, this is the unique name of a Data Source as defined in dycodoc
LPCSTR field_name
name of the Data Source Field
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 |
Example:
VpeSetTplFieldAsBoolean(hTpl, "Sample2", "IsCustomer", 1);
"dycodoc Template Processing" in the Programmer's Manual