# DBCLOSEAREA()

Close a database file in a work area.

Syntax

  DbCloseArea() --> NIL

Returns

  DbCloseArea() always returns NIL.

Description

  This function will close any database open in the selected or aliased work area.

Examples

          Function Main()

           Use Test

           Dbedit()

           Test->(DbCloseArea())

           USE

           Return Nil

Status

  Ready

Compliance

  DBCLOSEAREA() is fully CA-Clipper compliant.

Files

  Library is rdd

See Also

- DBUSEAREA()
- DBCLOSEALL()