Groundrush
Registered User.
- Local time
- Today, 02:18
- Joined
- Apr 14, 2002
- Messages
- 1,376
I have looked at a couple of posts regarding Hiding a subform
but I am having a couple of problems with mine
I have a subform that I only want to be visible when a toggle box has been checked, and invisible again when unchecked.
To hide the subform when opening the main form
I am using:
Private Sub Form_Load()
Forms!frmAlarms!frmPropertyAddressInput.Visible = False
End Sub
which seems to works ok
Then when I check the toggle box on one of the records
I am using:
Private Sub FirstLetterSent_Click()
Forms!frmAlarms!frmPropertyAddressInput.Visible = True
End Sub
the problem is that when I click on the toggle box it opens the subform for all the other records aswell and I cant turn it off untill I close the database down and re open.
how do I make it visible/invisible when a toggle box has been checked/unchecked, and keep it that way when scrolling through all the records and also when the the database has been closed and re opened
Thanks
but I am having a couple of problems with mine
I have a subform that I only want to be visible when a toggle box has been checked, and invisible again when unchecked.
To hide the subform when opening the main form
I am using:
Private Sub Form_Load()
Forms!frmAlarms!frmPropertyAddressInput.Visible = False
End Sub
which seems to works ok
Then when I check the toggle box on one of the records
I am using:
Private Sub FirstLetterSent_Click()
Forms!frmAlarms!frmPropertyAddressInput.Visible = True
End Sub
the problem is that when I click on the toggle box it opens the subform for all the other records aswell and I cant turn it off untill I close the database down and re open.
how do I make it visible/invisible when a toggle box has been checked/unchecked, and keep it that way when scrolling through all the records and also when the the database has been closed and re opened
Thanks