Field-Map Scripting

4.1.9.4 CreateMemTableFromDefs

CreateMemTableFromDefs function


Prototype:

function CreateMemTableFromDefs(const FieldDefs_,IndexFields_ :string) :TTableWrapper;

Description:

Creates memory table, field instances will be created with default properties available in the field definition.

Syntax:

variable:= CreateMemTableFromDefs(FieldDefs, IndexFields);


Part

Description


variable

variable declared as TTableWrapper


FieldDefs

Definitions of fields in the  database


IndexFields

Index fields

Return value:

returns a table wrapper for the memory table




See also:

OpenTable; LoadSimpleXML; OpenParadoxTable; CreateMemTableFromDefs; CloseAndFreeTable; Constants; AddintegerAttribute; AddFloatAttribute; AddbooleanAttribute; AddStringAttribute; AttributeExists; DefaultValue; DefaultValueEnabled; GetAttributesWithDefaultValue; GetAttributesWithDefaultValue