Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

Autotrigger a photo which resides in the database to paste into a container field


This topic is 5641 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I would like to make a script that would drop a pic into a container field and then make it blank by clicking on the container field. The picture would reside in another table

Posted (edited)

It might be better to use a Calculation for the Container field.

The Calculation would look something like this:

if(

ShowPic = "Yes"; PicTable:globalPic; ""

)

Remember to set the Calculation type as Container

You would then have a script that will toggle the ShowPic field between Yes and No. (code is example not correct syntax).

If (ShowPic = "Yes")

SetField ShowPic = "No"

else

SetField ShowPic = "Yes"

End If

You would then set the Container field to run the script when clicked...

Edited by Guest

This topic is 5641 days old. Please don't post here. Open a new topic instead.

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
×
×
  • Create New...

Important Information

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