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

Recommended Posts

Posted

I've been working on this a couple of days and keep stumbling. If one of you would like to jump in and give me a boost it will certainly be appreciated.

I want the checkbox in layout "Notes" to make the text of the displayed record to appear in the text box of the selected client in layout "Flag_This_Record". Obviously, only one note at a time can be "flagged" for any one client.

Thanks.

Flag_This_Record.zip

Posted

I'm not sure what you are asking for specifically, but since you seem to be referring to a checkbox causing something to show in another field, I will take a stab at that part of the question.

Field: CheckBox01 (options: Y, N)

Field: TextToDisplay

Field: cDisplayCheckBox = [ If( CheckBox01 = "Y" , TextToDisplay , "") ]

To add multiple fields to the result just concatinate them with &.

i.e. TextToDisplay01 & " " & TextToDisplay02 & " " & TextToDisplay03

Posted

Sorry, I should have said I attached a file as an example of what I am testing (it's attached to my original post.) To be specific:

Layout#1 has:

Client_ID Field

Client Name Fields

Text Box

Layout #2

Client_ID Field

Note_ID Field

Text Field

Check box

In Layout #2 I want to be able to have several notes on a particular client and whichever one I "flag" with the checkbox, that note will appear in the

Text box field in layout#1.

I added another table to my example because I thought it may need one to hold some temporary info in global fields.

Posted

Sorry to re-visit this thread, but I'm still having problems, and I've tried modifying Comments previous post but still get nada. Once again:

Layout#1 has:

Client_ID Field

Client Name Fields

Text Box

Layout #2

Client_ID Field

Note_ID Field

Text Field

Check box

I'm using a calculation field to set the Text Box to the Text Field if check box = "yes"

This works fine for only the first note of each record but not subsequent notes. (see attached file to this post)

Flag_This_Record_2.zip

Posted

Brian you're giving yourself too much typing work:

Field: cDisplayCheckBox = [ If( CheckBox01 = "Y" , TextToDisplay , "") ]

It's much simpler to write: If(CheckBox01;TextToDisplay) ...in my humble opinion smile.gif

--sd

Posted

Wow, you were right about having to examine your example carefully. It took me a while to find the "format number as boolean" option to get the "Yes, No" to display (I'd never used that before). I am also still having trouble with using TO's but you're example(s) really help me. Thanks again. I really enjoy this learning process, although I sometimes get impatient. grin.gif

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