DBDatabaseExists -- Determine if a Database Exists |
DBDatabaseExists(database-name [, path-spec]) |
Managing Database Files |
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.
|
DBDatabaseExists leaves database-name closed after executing. If the database is available, you'll need to re-open it with DBUse. |
DBUse |
43
|