Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Display name of file in container field

Featured Replies

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

Solved by gary29422

Go to solution

Automatic message

This topic has been moved from "FileMaker Legacy Versions 7 – 9" to "Layouts".

 

The General Topics are for questions about the Functions and Features that were new with the release of that Version of FileMaker.

Try something like:

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

Thank You John.  This worked perectly.

 

-Gary

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.