Equinox Online Help - Language Reference - A to Z

Home

NameFromDatabase

Applies to
SyntaxNameFromDatabase (DatabaseItem)
Action[Function] Returns a string name for a database.
ScopeUsable anywhere.
Notes

This function returns a database name from an database variable passed via the DatabaseItem parameter. The string returns the name of the database assigned within Equinox.

CategoryRecord navigation
See Also  
Example

The following example returns the name of a database which is appended to a combo workarea, so that a user can choose a database via a form.

database Dbf
string DbfName

Dbf = Custdb
DbfName = NameFromDatabase(Dbf)
ListAppend cSelect, DbfName