Syntax
DbCloseAll() --> NILArguments
None.
Return value
NIL.
Description
DbCloseAll() closes every open work area and its associated files. The selected work area is reset to area 1 after all areas are closed.
Notes
Pending updates are committed according to the RDD close operation before each area is released.
Example
PROCEDURE Main()
DbUseArea( .T., , "people.dbf", "People" )
QOut( "Before close: " + IIF( Used(), "OPEN", "CLOSED" ) )
DbCloseAll()
QOut( "After close: " + IIF( Used(), "OPEN", "CLOSED" ) )
RETURNOutput