tibasKeyDef_SetFieldNames()

Sets the field names used as the primary key in a KeyDef.

Declaration

tibas_status tibasKeyDef_SetFieldNames(
    tibasKeyDef keyDef,
    char* fieldNames)

Parameters

Parameter Description
keyDef Specifies the KeyDef for the key whose key definition you want to set.
fieldNames Pointer to a comma-separated list of the key values to set for the specified primary key.

Remarks

Use the tibasKeyDef_SetFieldNames() function to specify the key names that are used as a primary key for a specified KeyDef.

Use the fieldNames parameter to specify a comma-separated list of values that indicates the field names to use as the primary key.