K1200 Posted March 14, 2007 Posted March 14, 2007 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.
comment Posted March 14, 2007 Posted March 14, 2007 I don't think so. I just make the field a button that toggles the choice.
K1200 Posted March 14, 2007 Author Posted March 14, 2007 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?
comment Posted March 14, 2007 Posted March 14, 2007 If the field itself is a button, that shouldn't happen. See the demo I have posted here.
K1200 Posted March 14, 2007 Author Posted March 14, 2007 Thanks. That did it. I had overcomplicated things by using an Insert Calculated Result. The simpler Set Field + "not" operation does the job.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now