VpeSetFieldAsString

<< Click to Display Table of Contents >>

Navigation:  Field >

VpeSetFieldAsString

Previous pageReturn to chapter overviewNext page

Sets the value of a Field as string.

int VpeSetFieldAsString(

VpeHandle hField,

LPCSTR value,

)

VpeHandle hField

Field Handle

LPCSTR value

pointer to a buffer that holds the string that shall be assigned to the Field

Returns:

Value

Description

True

if the field's 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 VpeSetTplFieldAsString.

Example:

VpeSetFieldAsString(hField, "IDEAL Software");

 

See Also:

"dycodoc Template Processing" in the Programmer's Manual