<< Click to Display Table of Contents >> VpeSetTplFieldAsInteger |
Sets the value of a Field as integer.
int VpeSetTplFieldAsInteger(
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 integer value that shall be assigned to the Field
Returns:
Value |
Description |
True |
if the field was found and its value could be set |
False |
otherwise |
Example:
VpeSetTplFieldAsInteger(hTpl, "Sample2", "Recipient:Company Number", 25);
"dycodoc Template Processing" in the Programmer's Manual