Returns the file ID and path of each open data file.
Get ( OpenDataFileInfo )
None
text
FileMaker Pro 18.0 Advanced
Information about each open data file is separated by a line break. Each line follows this format:
<file ID><tab><path><line break>
File IDs are returned by the Open Data File script step when a file is opened. Paths are named according to FileMaker Pro Advanced conventions (see Creating file paths).
•In runtime solutions, this function returns "" because the Open Data File script step is not supported.
When two data files are open, this function may return the following:
Windows:
1 file:/C:/Users/user_name/Documents/change.log
2 file:/C:/Users/user_name/Desktop/sap001.txt
macOS:
15 file:/Macintosh HD/Users/user_name/Documents/change.log
16 file:/Macintosh HD/Users/user_name/Desktop/sap001.txt
Returns the number of open data files.
ValueCount ( Get ( OpenDataFileInfo ) )
Returns the number of open data files that are in the Documents folder.
PatternCount ( Get( OpenDataFileInfo ) ; Get ( DocumentsPath ) )