Jens Peter Posted July 8, 2005 Posted July 8, 2005 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
SlimJim Posted July 8, 2005 Posted July 8, 2005 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.
Jens Peter Posted July 8, 2005 Author Posted July 8, 2005 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now