# DBCLOSEALL()

Close all open files in all work areas.

Syntax

  DbCloseAll() --> NIL

Returns

  DBCLOSEALL() always return NIL

Description

  This function close all open databases and all associated indexes.In addition, it closes all format files and moves the work area pointer to the first position

Examples

          Function Main()

           Use Test New

           DbEdit()

           Use Test1 New

           DbEdit()

           DbCloseAll()

           USE

           Return Nil

Status

  Ready

Compliance

  DBCLOSEALL() is fully CA-Clipper compliant.

Files

  Library is rdd

See Also

- DBUSEAREA()
- DBCLOSEAREA()