Reference > Functions reference > Design functions > TableNames
 
TableNames
Purpose 
Returns a list of all table occurrences in the relationships graph for fileName.
Format 
TableNames(fileName)
Parameters 
fileName - the name of an open database file (local or remote).
Important  See Design functions for information about literal text parameters.
Data type returned 
text
Originated in 
FileMaker Pro 6.0 or earlier
Description 
Listed items are separated by carriage returns.
If no parameter is specified for fileName, FileMaker returns results for the current file.
Examples 
TableNames(“University Database”) returns table occurrences
Teachers
Coaches
for the University Database database file if a Teachers table and a Coaches table have been defined for the file.
Related topics 
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas