i have 16checkboxes saved in 1 field by saving it as a binairy value.
checkbox 1 =1 ;2=2 ;3=4 ; 4=8 etc. i just add them.
to get the checboxes back to there values i use the tag and the AND function to get the checkboxes on the screen
checkbox1.Checked :=
strtobool(table.Fieldbyname('field').AsVariant
and checkbox1.Tag);
now i want rave to show the checkboxvalues but rave can't use the AND function, how do i solve this.
i want rave to show a filled circle if the box is checked and a open circle if the box is unchecked.
how do i get rave to calculate the right checkboxes.
checkbox 1 =1 ;2=2 ;3=4 ; 4=8 etc. i just add them.
to get the checboxes back to there values i use the tag and the AND function to get the checkboxes on the screen
checkbox1.Checked :=
strtobool(table.Fieldbyname('field').AsVariant
and checkbox1.Tag);
now i want rave to show the checkboxvalues but rave can't use the AND function, how do i solve this.
i want rave to show a filled circle if the box is checked and a open circle if the box is unchecked.
how do i get rave to calculate the right checkboxes.