[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 close()
 Close the table in the work area
------------------------------------------------------------------------------
 Prototype

     ERRCODE close(
                       AREAP wa
                    )

 Arguments

     wa is a pointer to self.

 Description

     The close() method closes the data table in the work area defined by wa.

 Default Behavior

     close() clears the work area referenced by wa, and performs the following
     additional functions:

     1. Calls clearFilter() and clearLocate() passing wa to each.

     2. If wa has any parent work areas, any relations pointing to the
        work area are killed.

     3. Fields are unlinked from the symbol table, and the wa->atomAlias
        symbol is reset.

 Implementation Notes

     .  The default implementation of close() should deallocate system
        information hooked into the AREA structure.  Your implementation of
        close() should clear relations, if necessary, (with clearRel()),
        flush buffers, close physical files, call writeDBHeader(), and then
        call SUPER_CLOSE().

     .  If a memo file is involved, close() should call
        closeMemFile().

 Files  Header file is Rdd.api.


See Also: AREA clearRel() closeMemFile() open() release()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson