Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Hello Ronald,

A checkbox correspondes to a particular value in the field in question, so to check the checkbox, you must enter that value into the field (adding it to any values that are already there).

There are several ways to do this, but the most obvious would be via the use of the Set Field[ ] command. For instance:

Set Field [YourField; YourField & Left(¶; Length(YourField)) & "thevalue"]

will check a checkbox which is assigned 'thevalue' in a checkbox field named YourField. :

Posted

Just set that field to the value.

Checkbox

Green

Blue

Yellow

Set [fieldCheckbox] = "Green" & "Yellow"

Posted

Thanks for the replies. I "think" I did it as you described, but it's still not working.

I have a field called "LetterSent" in a file called high_schools. The choices are "Yes" and "No".

I have added the following step to my script:

Set Field [high_schools::LetterSent="Yes"]

Is that not correct? I'm using FM7. Perhaps there's a script step option that needs to be set?

Thanks again.

Posted

Hi,

Well unless you want users to be able to select both Yes and No at the same time, checkboxes would be unsuitable for the field in question - you'd be better off with radio buttons (which prompt the user for an either-or selection).

Notwithstanding that, it looks as though the syntax you're using is not what one would expect to see (eg you have an equals sign in the middle, which perhaps indicates that you have set the entire definition into the formula dialog.

I'm attaching a quick example so you can see how it should be set up. :

Check.zip

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