VpeSetTplFieldAsNumber

<< Click to Display Table of Contents >>

Navigation:  Templates >

VpeSetTplFieldAsNumber

Previous pageReturn to chapter overviewNext page

Sets the value of a Field as number (double).

int VpeSetTplFieldAsNumber(

VpeHandle hTemplate,

LPCSTR data_source_prefix,

LPCSTR field_name,

double 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

double value

the double 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:

VpeSetTplFieldAsNumber(hTpl, "Sample2", "Amount", 23.72);

 

See Also:

"dycodoc Template Processing" in the Programmer's Manual