If Me.CheckBox = True Then
Me.SomeField.Visible = False
Else
Me.SomeField.Visible = True
End If
I've placed it on both the subform and the mainform.is the Property on the pdf for the subform?
the checkbox is bound to it's own field in the same table as the other fields. Have tried the method suggested and it's still not working. The form references a linked table. That shouldn't make any difference should it??on the "main" form's checkbox (is it bound or unbound?), add
code to it's AfterUpdate event . Note that you need to replace the checkbox/subform name with
the correct name:
private sub checkboxName_AfterUpdate()
Me![theSubformName].Form.RecordSource = "select * from [tbl-catheters] where [archive] = " & me!chkboxName
end sub
Yes i've done that. Even closing and re-opening both Forms and even the entire database doesn't solve the issue. Have started swearing at the screen to see if that helps....If you are updating the checkboxes live, you will need to requery your subform everytime an update is made to show the updated ticked rows only
Yes i've done that. Even closing and re-opening both Forms and even the entire database doesn't solve the issue. Have started swearing at the screen to see if that helps....