VpeSetFieldAsNumber

<< Click to Display Table of Contents >>

Navigation:  Field >

VpeSetFieldAsNumber

Previous pageReturn to chapter overviewNext page

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

int VpeSetFieldAsNumber(

VpeHandle hField,

double value

)

VpeHandle hField

Field Handle

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

Remarks:

The Template Object itself offers a simple method to access a Field's value directly, i.e. without retrieving a Field Object first. See VpeSetTplFieldAsNumber.

Example:

VpeSetFieldAsNumber(hField, 23.72);

 

See Also:

"dycodoc Template Processing" in the Programmer's Manual