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 7146 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi

I am making a kind of document management.

I insert a file reference to a container field.

I would like to copy this files name to a normal text field as all the documents are named so I can autofill other fields and the user do not have to write in those.

My problem is that I cannot find the way to copy the file name to the text field. Do anyone know how to do this.

Thank you,

Jens Peter

Posted

GetAsText(file), where file is the name of the container produces the FMP7 reference. The format will depend to some extent on how you put the file in the container but you can certainly parse out the filename and the local filepath.

Posted

Thank you SlimJim

If you use drag and drop the file in the container field it will not work, but by inserting the file it works fine.

So logical and easy - I tried a lot that was much more complicated and didn't work.

Thanks, Jens Peter

This topic is 7146 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.