November 21, 200520 yr Newbies I am wondering how to use a file reference that is in another field (File Path) to grab and insert a picture from a folder on my desktop into a container field (Image). Suggestions? Any are greatly appreciated! Thanks, -Teo
November 21, 200520 yr When asking about container fields and image files it's important for you to say whether you really want to "embed" the image entirely, so that the actual binary data is permanently in the FileMaker container field (which is an action, scripted), or only "display" a picture file, which is only referenced from FileMaker to the file's location (which must remain fixed). These are 2 different things. The latter is possible via a calculation. From what you say above, using a file path in a text field to "grab and insert a picture", the answer would have to be "No, not unless you use AppleScript"; unless you want to manually go find the file, which I doubt. If you mean, "display a fixed location picture file" the answer is "Yes, but what syntax is the file path? Mac (with colons)? FileMaker (with slashes)? Unix? Is it a full path? In short, what does it look like? There are further considerations if the file is referenced, but you're in a networked situation.
November 21, 200520 yr Author Newbies Thanks for your response Fenton. My intentions were for the latter option of "displaying a fixed location picture file". The syntax of the file path would be styled as such: file://Macintosh HD/users/home/Desktop/image_folder/image.jpg Thanks again, -Teo
November 21, 200520 yr You just need the calculation to Substitute a little bit, result Container: Substitute ( filePath; "file://"; "imagemac:/" ) ImageAbsolute.zip
Create an account or sign in to comment