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 6929 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

How can I make a checkbox that is auto-checked based on another field having been filled out (and conversely, not checked if that other field is empty)? Any help would be appreciated.

Posted

NO. I just want this box in one layout to automatically be checked when another layout is filled out. I've chosen a field from the second layout to be the indicater.

(This is a job tracking dbase: one layout is the job detail form and the other layout is the estimating form. Not all jobs require estimates and I want to be able to tell from the detail view whether or not an estimate was filled out.)

Posted

Using the field name "Estimate" for your other field,

use this case in the checkbox field.

Case ( not IsEmpty( Estimate) ; 1; "")

which can be shorten to

Case ( not IsEmpty( Estimate) ; 1)

Will leave your field blank if estimate is blank, and checked if there is data.

If you want to reverse this, remove the 'not" after case.

Lee

Posted (edited)

change the existing field that you current have formated as a Checkbox from [color:blue] text field, to a[color:blue] Calculation , with a[color:blue] number result.

Here is a quick sample of what I mean, notice that I have included the two different calcs for comparison.

Lee

CkBoxFlag.fp7.zip

Edited by Guest
Posted

I sure appreciate your help but it doesn't seem to be working for me. I changed the field type to Calculation, and put in the following in Options:

Case ( not IsEmpty( Date estimate) ; 1; "")

using the list to place the Date estimate text so there's no mistake in typing.

I copied and pasted from your example.

Posted

Can you post mock up or a striped down copy of your files with the direction to the two fields involved?

Posted

OK I've made a mini-version. The Job Detail layout has the checkbox for Estimate Attached. The Estimate layout has the field for Date estimate.

How do I add an attachment?

Posted

You didn't say you wanted the words "Estimate Attached" to print also.

You need to change the calculation (you don't need a checkbox here if you don't want it)

Case ( not IsEmpty( Date estimate) ; "Estimate Attached"; "")

Lee

Posted

Great! Works like a charm. Thank you so much for your help. I DO like the checkbox effect here, rather than either the words appearing or not appearing.

Thanks again.

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