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

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

Recommended Posts

Posted

Hi,

I have a calculation set up to show the state of a checkbox (True or False) if a container is populated.

Now I need to alter this slightly, I need the checkbox to show False (off) if; has been pasted into the container and True if; C:windowsdatafilesassetsxyzfoto.png has been used instead.

How do I reference these external files correctly?

My current script is;

If (IsEmpty(Foto) ;"F";"T")

...which works as normal.

Thanks!

Posted

place "C:windowsdatafiles interfacenopic.png" in a global container field. then schange if statement as like below:

if(photo_field = global_container ; "F";"T")

Posted

Hi Osman - many thanks! Saved me hours of trial-&-error (mostly error)

If(Foto = GlobalFoto ; "F";"T") worked perfectly; the checkbox is switched on only when a graphic OTHER than the one in the field is pasted into

Frank.

Posted (edited)

...Just worked out the correct script;

[color:purple]If(Foto = GlobalFoto or (IsEmpty(Foto));"F";"T")

this still shows checkbox UNCHECKED if field is left empty...

Frank.

Edited by Guest
Posted

calculation:

If(Foto = GlobalFoto or IsEmpty(Foto);"F";"T")

amd several results are listed below:

- if field is left empty result is F

- if nopic.png image appears result is F

- otherwise result is T

i think these are desired results.

try unchecking "Do not evaluate if the reference fields are empty" option in calculation dialog box.

This topic is 6556 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.