FilenameContainer ( ContainerAsText )
Returns a FileMaker Container Field Filename.
Average rating: 4.5 (28 votes) Log in to vote
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
// FilenameContainer ( ContainerAsText )
// Returns a FileMaker Container Field Filename.
// Hal Gumbert, Campsoftware.com
Apr 28, 2012
|Two things. One, this is apparently dependent upon another custom function witch isn't mentioned in the description. Two, why not use use GetAsText ( ContainerField )?|
|Hal Gumbert, Orlando, FL
Apr 30, 2012
Sorry about the dependent functions. I should have mentioned that. These two should solve that problem:
You can't just use GetAsText for Containers that are stored externally in FileMaker 12 since it returns different values now.
|scott morabito, boston
Sep 22, 2012
|Couple of issues here.
There is no ValuesRemoveEmptyValues function, but there is a RemoveEmptyValues. Also there is no ValuesFind function but there is a FindValues function. For FindValues, you'll need ListIndex. Both FindValues and ListIndex use "list" parameter that FMP12 won't allow so they need to be renamed.
Oct 4, 2013
|Here's a waaaay easier method, works on local and remote container fields
filename = GetAsText(<Your Container Field>);
filename = Substitute(GetValue(filename ; 1) ; "remote:" ; "")
Jan 7, 2015
|Haaaa Merci Tux... je cherchais justement quelques chose de simple !!|
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.