<< Click to Display Table of Contents >> VpeSetTplFieldAsDateTime |
Sets the value of a Field as date / time.
int VpeSetTplFieldAsDateTime(
VpeHandle hTemplate,
LPCSTR data_source_prefix,
LPCSTR field_name,
int year,
int month,
int day,
int hour,
int minute,
int second,
int msec
)
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
int year, month, day, hour, minute, second, msec
the integer values, which shall be assigned to the respective values of the Field as integer
Returns:
Value |
Description |
True |
if the field was found and its value could be set |
False |
otherwise |
"dycodoc Template Processing" in the Programmer's Manual