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

Simplest Yes/No value list?


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

Recommended Posts

Posted

I'm using the Format As Boolean option for a numeric flag value, with the displayed values being simply "Yes" and "No".

I defined a value list so the user can make their Yes/No selection. Currently, the options that are shown to the user are "1 = Yes" and "0 = No" -- and everything works fine.

However, I would like to offer simple "Yes" or "No" choices. Is there a way to define the value list to display only the words but still set the numeric field without having to define a table to hold the choices?

Thanks for any help.

Posted

Thanks for the suggestion.

I tried it using a Case statment to toggle the value, but upon clicking the field (to toggle it) the field displays a 0 or 1 until I click somewhere outside of the field. Then it displays the appropriate "Yes" or "No". Have I missed something? Or is that how it has to work?

Posted

Thanks. That did it.

I had overcomplicated things by using an Insert Calculated Result. The simpler Set Field + "not" operation does the job.

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