<< Click to Display Table of Contents >> VpeGetTplFieldIsNull |
Tests whether a Field has a null-value. A field has a null-value after calling VpeClearTplFields or after explicitly assigning a null-value to a Field by either calling VpeSetFieldToNull or VpeSetTplFieldToNull.
int VpeGetTplFieldIsNull(
VpeHandle hTemplate,
LPCSTR data_source_prefix,
LPCSTR field_name
)
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
Returns:
Value |
Description |
True |
the field has a null-value |
False |
the field has not a null-value or the field was not found |
Example:
VpeGetTplFieldIsNull(hTpl, "Sample2", "Recipient:Company");
"dycodoc Template Processing" in the Programmer's Manual