Oyseka Posted December 27, 2016 Posted December 27, 2016 Hi all, How do you set up a checkbox so that only one value is set such that selecting another value will clear the current value.
comment Posted December 27, 2016 Posted December 27, 2016 First, you should format the field as a radio button set. Checkboxes are intended for multiple selections. However, since even radio buttons allow multiple choices to be selected by holding the Shift key, make the field auto-enter calculated value (replacing existing value) = RightValues ( Self ; 1 )
bruceR Posted December 27, 2016 Posted December 27, 2016 Comment, that will include a return in the field. Wouldn't it be better to use getValue ( self; 1) ? Or getValue ( self ; valuecount( self))
comment Posted December 27, 2016 Posted December 27, 2016 9 minutes ago, BruceR said: that will include a return in the field. Yes, it will. I am not sure it will cause any problems, but it is certainly worth mentioning. 10 minutes ago, BruceR said: Wouldn't it be better to use getValue ( self; 1) ? That wouldn't allow selecting another value.
Oyseka Posted December 27, 2016 Author Posted December 27, 2016 Thank you for the information BruceR and having checked, as comment said, the return does not present a problem that I can see.
bruceR Posted December 27, 2016 Posted December 27, 2016 Not sure what that means. You would have to discuss how you use this field in perhaps reports or other operations or perhaps in merge layouts, etc. Or for instance, Find operations, where an exact match search would fail because the field contains a return.
Recommended Posts
This topic is 3155 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