The DatabaseNames function provides the names of all open FileMaker database files at the time the function is executed. Each database file name is separated by a carriage return. If you are thinking about using this in script branching, you will probably have to use it in tandem with the PatternCount function.
The extension information is not included in the result of the function. This means that it is possible ( however remote ) that this function might break if you have two FileMaker databases open with the same name but different extensions. This could be the case when you are building runtime databases with FileMaker Advanced.
© 2010 - Dwayne Wright - dwaynewright.com
The material on this document is offered AS IS. FileMaker Pro is the registered trademark of FileMaker Inc.