BtServer:AddStruct()

 

<< Click to Display Table of Contents >>

Navigation:  Server Classes > BtServer Class >

 

BtServer:AddStruct()

 

Previous pageReturn to chapter overviewNext page

 

Purpose

 

 

Add alternative structure for open table

 

 

 

Prototype

 

 

METHOD AddStruct ( symName , uFields  )  CLASS BtServer

 

 

 

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

 

 

BtServer, BtServer:SetStruct(), BtServer:CurrStruct, Bt_ReadDDFieldInfo(), BtTable:AddStruct()