Returns a list of the names of all files open on the computer.
Data type returned
FileMaker Pro 6.0 or earlier
Listed items are separated by carriage returns. The names returned do not include file extensions.
If your database is hosted on another computer, DatabaseNames
returns a list of the names of local client
and remote database files open only on the client computer.
To determine whether Customers is one of the files currently open, use the DatabaseNames function with the FilterValues function in the formula:
If the formula returns any text value, then Customers is open.
If you want to know how many files with the same name are open, use the DatabaseNames function with the PatternCount function in the formula:
This will tell you how many files named Customers are open.