SetFieldAsBoolean

<< Click to Display Table of Contents >>

Navigation:  Template Object >

SetFieldAsBoolean

Previous pageReturn to chapter overviewNext page

Sets the value of a Field as boolean.

method integer TVPETemplate.SetFieldAsNumber(

string DataSourcePrefix,

string FieldName,

boolean Value

)

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

boolean Value

the boolean 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

 

See also:

"dycodoc Template Processing" in the Programmer's Manual