BtTable:Init()

 

<< Click to Display Table of Contents >>

Navigation:  Support Classes > BtTable Class >

 

BtTable:Init()

 

Previous pageReturn to chapter overviewNext page

 

Purpose

 

 

Open the Btrieve Table

 

 

 

Prototype

 

 

METHOD Init ( cFile , uFields , nMode , cOwner, nid  )  CLASS BtTable

 

 

 

Argument(s)

 

 

<cFile>                The name that is used in the dictionary for the file. Please note

                         that this name can (and usually is) different then the name of the file.

                         For example the name for FILE.DDF in the dictionary is X$File.

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

                         STRING concatenated string value. See below for more details

                         ARRAY of STRING values.

                         ARRAY of BtField objects

<nMode>                (Optional) Btrieve file open mode.

<cOwner>                (Optional) Name of the owner of the table

<nId>                                (Optional) Client ID to use when opening the file.

 

 

 

 

Return

 

 

OBJECT                SELF when the table is succesfully opened. When an error occurs the error handler is called

 

 

 

See Also

 

 

BtTable