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.2 . 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 workarea
------------------------------------------------------------------------------
 Prototype

     ERRCODE open(
                   WORKAREAP wa,
                   DBOPENINFOP dbOpenInfo
                 )

 Arguments

     wa is a pointer to self.

     dbOpenInfo is a pointer to a structure containing information about
     the workarea and the data store to be opened.

 Description

     Opens the data store referenced by dbOpenInfo.

 Default Behavior

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

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

     .  Links the fields to the symbol table

     .  Adds the workarea to the list of workareas that are in use

     Note:  The workarea must not already be in use.

 Implementation Notes

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

 Files:  Header file is Rdd.api.


See Also: DBOPENINFO WORKAREA close() create() new()

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