From Dwayne Wright PMP, PMI-ACP, CSM
Certified FileMaker Developer
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.
If you have the .FP7 extension on your database files (and I hope you do), 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 7 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.