SetKeyField 

Purpose

Sets the value of the specified keyfield.

Syntax

bool SetKeyField(const string& strKeyFieldName,

const string& strValue);

Parameters

strKeyFieldName: Name of the keyfield.

strValue: Value to be set to the specified keyfields.

Return Value

Returns a true indicating that the keyfield was set to given value; returns false if given keyfield was not found.

Description

This function returns the value of the specified keyfield. If the specified keyfield does not exist, then the string returned is a null string.

Related Information

GetKeyField