December 27, 20169 yr 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.
December 27, 20169 yr 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 )
December 27, 20169 yr Comment, that will include a return in the field. Wouldn't it be better to use getValue ( self; 1) ? Or getValue ( self ; valuecount( self))
December 27, 20169 yr 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.
December 27, 20169 yr Author Thank you for the information BruceR and having checked, as comment said, the return does not present a problem that I can see.
December 27, 20169 yr 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.
Create an account or sign in to comment