GetFieldIsNull

<< Click to Display Table of Contents >>

Navigation:  Template Object >

GetFieldIsNull

Previous pageReturn to chapter overviewNext page

Tests whether a Field has a null-value. A field has a null-value after calling ClearFields or after explicitly assigning a null-value to a Field by either calling TVPEField.SetNull or TVPETemplate.SetFieldToNull.

method boolean TVPETemplate.GetFieldIsNull(

string DataSourcePrefix,

string FieldName

)

string DataSourcePrefix

prefix of the Data Source, this is the unique name of a Data Source as defined in dycodoc

string FieldName

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

 

See also:

"dycodoc Template Processing" in the Programmer's Manual