GetCurrentDirectory ( )
Returns the path to your database folder.
Average rating: 4.8 (32 votes) Log in to vote
Iwein De Smedt Freelancer http://www.freelancer.com/ |
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Returns the path to your database folder.
Comments
C Flory, Las Vegas Jun 24, 2011 |
||
This can also be achieved with: Left ( Get ( FilePath ) ; Length ( Get ( FilePath ) ) - Length ( Get ( FileName ) ) ) Thanks for sharing! |
||
Iwein De Smedt, Location Unknown Jun 24, 2011 |
||
Problem with that is that Get ( FileName ) does not include the filename extension, so there are four characters short. You would have to append the extension to the filename first but that doesn't sound like a good idea to me. Interesting approach anyway! | ||
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.