![]() |
Next Page |
| Contents > Functions reference (alphabetical list) > Get functions > Get(FilePath) function |
|
|
| Get(FilePath) function |
| Format |
Get(FilePath) |
| Parameter |
| None |
| Data type returned |
| text |
| Description |
| Returns the full path indicating the location of the currently active database file. In Windows, the full path is file:/drive:/folder/filename for local files. For remote files, the full path is file://volume/folder/filename. In the Mac OS, the full path is file:/volume/folder/filename for local and remote files. |
| Notes |
| If you specify the context for the current calculation, this function will be evaluated based on that context; otherwise, it will be evaluated based on the context of the current window. |
| See Solving calculations on a host machine for information about running scripts in client/server and peer-to-peer environments. |
| Examples |
| Returns file:/driveletter:/databaseName for local files in Windows. |
| Returns file://volumename/myfoldername/databaseName for remote files in Windows. |
| Returns file:/path/databaseName for local and remote files in the Mac OS. |
| Returns fmnet:/networkaddress/databaseName for FileMaker Pro networked files. |
| Related topics |
| Functions reference (category list) |
| Functions reference (alphabetical list) |
| About formulas |
| About functions |
| Defining calculation fields |
| Using operators in formulas |
|
|
| Contents > Functions reference (alphabetical list) > Get functions > Get(FilePath) function | Next Page |