<< Click to Display Table of Contents >> VpeSetFieldNullValueText |
Sets the text which is printed for Fields that have a null-value. You can assign a special text to Fields with a null-value. By default, the null-value text is an empty string. You can specify for each field an individual null-value text, for example "n/a".
int VpeSetFieldNullValueText(
VpeHandle hField,
LPSTR text
)
VpeHandle hField
Field Handle
LPSTR text
pointer to a buffer that holds the string that shall be assigned to the Field's null-value text
Returns:
Value |
Description |
True |
if the field's null-value text could be set |
False |
otherwise |
Remarks:
The Template Object itself offers simple methods to access a Field's value directly, i.e. without retrieving a Field Object first. See VpeSetTplFieldNullValueText.
Example:
VpeSetFieldNullValueText(hField, "n/a");
"dycodoc Template Processing" in the Programmer's Manual