Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 4251 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I would like to create a field that will display the name of the file that have been placed in a container field.  I'm using FMP 9. Thanks for your help.

 

-Gary

 



Additional info:

 

I used GetAsText and it give me this output:

 

size:612,792

image:Photos and Documents/Company Style Indicia.pdf
imagemac:/Macintosh HD/Users/GarySmith/Desktop/Envirolution/Photos and Documents/Company Style Indicia.pdf

 

I'm looking for a calculation that will just give me the file name... not the entire path.  I'm inserting both images and files into the same container field.

 

-Gary

Posted

Try something like:

Let ( [ path = GetValue ( YourContainerField; 2 );
        val = Substitute ( path; [ ":"; ¶ ]; [ "/"; ¶ ] )
      ];
         GetValue ( val; ValueCount ( val ) )
      )

This topic is 4251 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.