lastpass Posted December 13, 2009 Posted December 13, 2009 Hi! I stored many file in a record (dwg, dxf, stp, pdf, jpg etc. every file in a container field) and the normal opening is not acceptable to me (right click to file name and save as...) Is there any script or something that will open my files with other application? I am still new in FM. If anyone know a good solution please write it with details. thanks.
Vaughan Posted December 13, 2009 Posted December 13, 2009 (edited) One way of doing is to create a script that saves the file to FileMaker's temp folder, then opens it from there. I think the actual script step is Export Field Contents and it has an option to automatically open the file. Which means you just have to supply the step with the path to the temp folder. There is a function specifically for this. It is necessary, of course, for the client computer to be set up with the correct application to open the file. Edited December 13, 2009 by Guest
Makah Posted December 13, 2009 Posted December 13, 2009 Did you store the files as a reference? If so, if you move/delete the files then filemaker is unable to retrieve the files.
lastpass Posted December 17, 2009 Author Posted December 17, 2009 Thank you! It seem that is the only way but it doesn't work properly. I can't define a general file format like this: temp.$$$. I run "export field content" script as button. After clicking in the field window pops up and I can save the file. This is not as simple that I like but that is it. (sorry for my english if there any mistakes)
Vaughan Posted December 17, 2009 Posted December 17, 2009 Learn about file paths in FileMaker's help. You need to use a file path format that FileMaker recognises, and not make up your own "temp.$$$" format.
lastpass Posted January 11, 2010 Author Posted January 11, 2010 Thanks, but I give up this way of storage my files. Finally I chose the global storage and field contains just a link. When I double clicking into container field (when not empty) the file automatically open. But I have to be carefully because files can be deleted.
comment Posted January 11, 2010 Posted January 11, 2010 See: http://fmforums.com/forum/showpost.php?post/340378/
Recommended Posts
This topic is 5429 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 accountSign in
Already have an account? Sign in here.
Sign In Now