tibasSpaceDef_PutFieldDef()

Associates a field definition to a specified space definition.

Declaration

tibas_status tibasSpaceDef_PutFieldDef
(tibasSpaceDef spaceDef,
tibasFieldDef  fieldDef)

Parameters

Parameter Description
spaceDef The spaceDef object that identifies the space for which you want to define a field definition.
fieldDef The field definition.

Remarks

Use the tibasSpaceDef_PutFieldDef() function to associate a field definition (fieldDef) with a specified space definition (spaceDef).

Before you can call the tibasSpaceDef_PutFieldDef() function, you must create a space definition by calling the tibasSpaceDef_Create() function and create a fieldDef by calling the tibasFieldDef_Create() function.