[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 open()
 Open a data store (table) in the work area
------------------------------------------------------------------------------
 Prototype

     ERRCODE open(
                    AREAP wa,
                    LPDBOPENINFO lpdbOpenInfo
                  )

 Arguments

     wa is a pointer to self.

     lpdbOpenInfo is a pointer to a structure containing information
     about the work area and the data store to be opened.

 Description

     The open() method opens the data store referenced by lpdbOpenInfo.

 Default Behavior

     The work area open() method concludes the process of opening a database
     file by performing the following tasks:

     .  Sets up the wa->atomAlias (checking for duplicate aliases or
        bad alias names)

     .  Links the fields to the symbol table

     .  Adds the work area to the list of work areas that are in use

     Note:  The work area must not already be in use.

 Implementation Notes

     .  open() assumes that the RDD has already opened the data store
        and set up the wa->lpFields array prior to calling SUPER_OPEN().

     .  If a memo file involved, open() should call openMemFile().

 Files  Header file is Rdd.api.


See Also: AREA DBOPENINFO close() create() openMemFile()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson