FILEFLEX API REFERENCE



NAME
DBDatabaseExists -- Determine if a Database Exists

SYNTAX
DBDatabaseExists(database-name [, path-spec])

CATEGORY
Managing Database Files

DESCRIPTION
You can easily determine if the database file you're about to manage is available by calling DBDatabaseExists. You might want to use this function if you're moving data from CD-ROM to a hard drive, or if you want to be sure the CD has been inserted and the database is available. DBDatabaseExists use the same parameters as DBUse (the database name and an optional path specification). If the database is not available, DBDatabaseExists returns a negative result code.


NOTES
DBDatabaseExists leaves database-name closed after executing. If the database is available, you'll need to re-open it with DBUse.

SEE ALSO
DBUse

INTERNAL FUNCTION NUMBER
43


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

Casa de Bender