BtTable:AddStruct()

 

<< Click to Display Table of Contents >>

Navigation:  Support Classes > BtTable Class >

 

BtTable:AddStruct()

 

Previous pageReturn to chapter overviewNext page

 

Purpose

 

 

Add alternative structure for open table

 

 

 

Prototype

 

 

METHOD AddStruct ( symName AS SYMBOL, uFields AS USUAL )  AS LOGIC PASCAL CLASS BtTable

 

 

 

Argument(s)

 

 

<symName>                SYMBOL        Name of structure to add. The structure that was specified when opening

                                 the table is called #Default. If you specify the name of an existing structure, this structure

                                 will be replaced with the new structure that you give here.

<uFields>                Field definition of the file. This can be one of the following:

                 STRING concatenated string value.

                 ARRAY of STRING values.

                 ARRAY of BtField objects

 

 

 

 

Return

 

 

LOGIC                TRUE when new requested structure is selected, FALSE when the name was not found

 

 

 

See Also

 

 

BtTable, BtTable:SetStruct(), Bt_ReadDDFieldInfo()