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>create()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 create()
 Create a data store (table) in the specified work area
------------------------------------------------------------------------------
 Prototype

     ERRCODE create(
                       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 table to be created.

 Description

     The create() method creates an empty data store in the work area
     referenced by wa.

 Default Behavior

     At the work area level, create() maps directly to open().

 Implementation Notes

     .  If creation of the new data store fails, create() should
        ensure that the work area is in a usable state by calling SELF_CLOSE()
        before you generate a recoverable error.

     .  If a memo file is involved, create() should call
        createMemFile().

     .  Use writeDBHeader() to write the contents of the header record
        to disk.

 Files  Header file is Rdd.api.


See Also: AREA DBOPENINFO createMemFile() open()

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