Syntax
DbCloseArea() --> NILArguments
None.
Return value
NIL.
Description
DbCloseArea() closes the current work area and releases its database and index files. The current selection remains the same work-area number.
Notes
Calling it when no area is open has no effect.
Example
PROCEDURE Main()
DbUseArea( .T., , "people.dbf", "People" )
DbCloseArea()
QOut( "Open after close: " + IIF( Used(), "YES", "NO" ) )
RETURNOutput