April 6, 201510 yr Newbies I have a simple script that lets you select a picture from a folder and have it stored and shown as a container. The script is: Go to Field [field name] Insert Picture [ ] It works fine. But I want to also store the filename reference in a separate field, so when I extract the file to Excel to use with MailMerge, I can get the filename which would allow access to the original file that contains the picture. I tried a number of script steps with no luck. Any support or advice would be appreciated.
April 6, 201510 yr Why do you need both? If you expect the picture to stay in place, why not simply insert it "as reference only"? Then you will have the entire path to the file, both relative and absolute, available to you as = GetAsText ( Containerfield )
April 7, 201510 yr Or if you are using FM13, use the GetContainerAttribute function (http://www.filemaker.com/help/13/fmp/en/html/func_ref1.31.15.html) to get the file name and other info
Create an account or sign in to comment