Jump to content
Sign in to follow this  
squeed

Help Scripting a photo insert into a record

Recommended Posts

I am a T-Shirt printer and we have "films" that represent T-Shirt designs that I am trying to catalog in Filemaker. We are capturing the film name, the customer name and ideally, a photo of what the design looks like.

I'm trying to be able to give the user the ability to click a button that would execute a script that allows the user to browse their local hard drive to locate the JPG image of the design, choose it like you would in any other windows program, and then have the image appear in the container field of the record that the user has open at the time.

I can't seem to figure out how to do this without a plugin.

-S

Share this post


Link to post
Share on other sites

Hi S and welcome to the FM Forums,

I don't think I'm understanding your setup. Is a standalone process, or are you serving this file?

If you are serving your files, how are they being accessed? How many computers are in your network?

If there isn't a network, How would they search their hard drive for a file located on someone else's computer?

How would a plugin change things?

Lee

Share this post


Link to post
Share on other sites

Have you tried right clicking on the container field and selecting 'Insert Picture...'?

I am not sure you really need a script.

Jerry

Share this post


Link to post
Share on other sites

The file is on a network and being served via Filemaker Server. The application is fairly simple. There are only 3 fields in the database. Field 1 is the name of the customer, Field 2 is the name of the artwork and Field 3 is a container for the photo of the artwork. I want the user to be able to click a button and have a windows open dialog box open so that they can browse their local computer to find the artwork photo and select it. Then it would be attached to the record and shown in the container field.

Share this post


Link to post
Share on other sites

I want the user to be able to click a button and have a windows open dialog box open so that they can browse their local computer to find the artwork photo and select it. Then it would be attached to the record and shown in the container field.

That should be doable. Have a look into the sample file.

InsertPicture.fp7.zip

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.