FILEFLEX API REFERENCE



NAME
DBClose -- Close one database

SYNTAX
DBClose(database-ID)

CATEGORY
Managing Database Files

DESCRIPTION
When you are finished with a database, you can close the file and reclaim the memory used for its buffers by calling the FileFlex function DBClose and passing the database ID returned by the call to DBUse as an argument.

DBClose returns an error code of 0 on successful completion, or an alternative error code if there is a problem.

If you have more than one file open and want to close a specific open file, you must first insure that the file you want to close is the current file. Use DBSelect for this purpose.


EXAMPLE
put DBClose(DatabaseID) into dbResult

SEE ALSO
DBUse, DBUseIndex, DBCloseAll, DBCloseIndex, DBSelect

INTERNAL FUNCTION NUMBER
4


Copyright © 1992-1998 by David Gewirtz, under license to Component Enterprises, Inc.
Contact: info@component-net.com

Casa de Bender