< Day Day Up > |
DatabaseNames()Category: Design Syntax: DatabaseNames Parameters: None. Description: Returns a carriage return “delimited list of currently open databases, whether open as a client of another machine or open locally. File extensions are not included in the result. Examples: DatabaseNames might return CustomersInvoicesInvoice_Line_Items PatternCount (DatabaseNames ; "Customers") Returns 1 if the Customers database is open. Comments: Use caution when checking for open databases with hard-coded strings. In the second example, the check fails if someone changes the name of the Customers database. Get (FileName) can be used in conjunction with a startup script to see whether a filename has been changed. |
< Day Day Up > |