AnsweredAssumed Answered

SCRIPT TO IMPORT PHOTO IMAGES

Question asked by ShirleyMB on Feb 11, 2010
Latest reply on Feb 11, 2010 by ShirleyMB4

Title

SCRIPT TO IMPORT PHOTO IMAGES

Post

There is a folder with hundreds of JPGS, each of which I have to insert into the appropriate record. I've made a calculation field for the name of the JPG, since the JPG name corresponds to the Filemaker record ID. The calculation is as follows: If ( RECORD ID < 100; "PIC-01-00" & RECORD ID & "A.jpg"; "PIC-01-0" & RECORD ID & "A.jpg" ). When trying to make a script, I want to insert the images automatically using the above calculation, but the file path allows for only a specific image (imagewin:/C:/PIC-01/fileName). How do I get "fileName" to be shown as a calculation field and not as a specific JPG name?

Outcomes