AnsweredAssumed Answered

Questions re: Scripts and Inserting Pictures into Fields

Question asked by milesb2009 on Sep 30, 2009
Latest reply on Oct 14, 2009 by TSGal

Title

Questions re: Scripts and Inserting Pictures into Fields

Post

Hey guys,

 

I'm kind of new at this, so if this question has already been answered, or there's a better way to do this than the way I'm already working, please let me know.

 

I'm looking to do two things in regards to having the users of my database inserting pictures into individual personnel records.

 http://forum-en.filemaker.com/t5/forums/postpage/board-id/FM-en-4

First, I'd like to have a script automatically run whenever someone enters text into a certain field (e.g. if someone has their resume on file, a picture automatically is inserted into the picture-containing field).

 

Right now, I have a script runningfor a script trigger on the field that whenever someone modifies the field, a script runs that inserts the picture in the picture-destination field.

 

The script is as follows: 

 

If

  Perform Find (@ in [Field 2])

End If

Go To Field [Picture Container]

Insert picture [resume.jpg]

 

However, whenever this script runs, I get the record dialog popping up, and I don't want that. Anyone know how to get rid of it?

 

 

 

Second, is there any way to drag and drop pictures into a picture-container field to manually add them from windows explorer (on pcs) or finder (on macs)?

 

Thanks guys.

 

(PS Running Filemaker 10.0v3 on Mac OSX 10.6.1)

Outcomes