I have a field called EmptySeats on a Layout. This contains the Checkbox Set that I have defined in a Value List. When I check a box, all of the values go to the same Row in a table. I tried to write a script to add a record to the table and enter the CheckBox Value - but it just adds a "0" on the line. Is the checkbox value not the value that displays?
My Script is:
Set Variable [$$Seat;value:EmptySeats:SeatNo]
Go to Layout ["tblEmptySeats"]
Set Field [EmptySeats:SeatNo;EmptySeats::SeatNo=$$Seat]
It adds the record, but puts a "0" in the SeatNo field.
What am I doing wrong?