PA_CreateTableRef


version 2003


PA_CreateTableRef → PA_TableRef

Parameter Type Description
This command does not require any parameters

Description

The PA_CreateTableRef command creates a reference to a table to be created. Once this reference created, the command PA_AddField can be used to add all the necessary fields to this table.

When the table definition is complete, a call to PA_CreateTable creates the table.

Examples

Creates a Table with one integer field

      PA_TableRef ref;
 
      ref = PA_CreateTableRef();
      PA_AddField( ref, "aField", eFK_IntegerField, 0 );
      PA_CreateTable( ref, "aTable" );

See Also

PA_AddField , PA_CreateTable .