[<<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()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson