July 8, 200520 yr 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
July 8, 200520 yr 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.
July 8, 200520 yr Author 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
Create an account or sign in to comment