Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

calculated checkboxes rave

Status
Not open for further replies.

domkop

Programmer
Aug 19, 2003
22
NL
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.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top