db_name

Description

Name of database

Old Name

#define dbname db_name

Syntax

char db_name[32];

Remarks

The db_name variable holds the name of the database last opened with a call to db_open() or open_database(). It is zero-terminated.

Note the db_nr variable controls which of the open databases is used in a database access. So, when several databases are in use, the db_name variable will generally not name the active database.