I have a report that has only 1 checkbox depending on 5 different True/False fields. Is there a way to merge these into that one box? Example: if any of the 5 checkboxs are true, then the report's checkbox will also be true.
I am debating to add a new user field to the form, but this sounds redundant as the data is already checked, but it seems to be the easy and safe option. If it's check it's true and unchecked it's false and I won't be stuck with the problem below.
OR I can add code to the form that states if any checkbox is true then the new (hidden) checkbox is true.
I would need this new checkbox to stay true if any of the boxes are checked and false if they are all false. This is where I am stuck - I don't know how to write that part.
I can add the following to each of the 5 boxes, but then I'm stuck:
Am I on the wrong track here with this second option? I am only entertaining this as it seems easier for the end user.
I am debating to add a new user field to the form, but this sounds redundant as the data is already checked, but it seems to be the easy and safe option. If it's check it's true and unchecked it's false and I won't be stuck with the problem below.
OR I can add code to the form that states if any checkbox is true then the new (hidden) checkbox is true.
I would need this new checkbox to stay true if any of the boxes are checked and false if they are all false. This is where I am stuck - I don't know how to write that part.
I can add the following to each of the 5 boxes, but then I'm stuck:
Code:
Private Sub chkBox1_Click()
If chkBox1.Value = True Then
chkBoxNew.Value = True
End If
End Sub