Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.3 . Technical Reference - <b>open()</b> http://www.X-Hacker.org [<<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()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson