![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have some fields which become visible after I've checked a box: Private Sub Trigger() If (Me.Trigger = True Or Me.Trigger = Not Null) Then Me.Problem.Visible = True Else Me.Problem.Visible = False End If End Sub The trigger-checkbox has "Default Value = False" The Problem-field has property "Visible = NO" I create a new record. The problem field is not visible. OK. I check the Trigger and the problem field becomes visible. OK. I click on >* (the new-record button) and the problem field is still visible?!? What can I do to make sure that the invisible fields are ALWAYS invisible in a new record? Thanx! |
#3
| |||
| |||
|
|
Hello, I have some fields which become visible after I've checked a box: Private Sub Trigger() If (Me.Trigger = True Or Me.Trigger = Not Null) Then Me.Problem.Visible = True Else Me.Problem.Visible = False End If End Sub The trigger-checkbox has "Default Value = False" The Problem-field has property "Visible = NO" I create a new record. The problem field is not visible. OK. I check the Trigger and the problem field becomes visible. OK. I click on >* (the new-record button) and the problem field is still visible?!? What can I do to make sure that the invisible fields are ALWAYS invisible in a new record? |
|
If (Me.Trigger = True Or Me.Trigger = Not Null) Then given trigger can be true, false or null, you can simplify this to |
|
Thanx! |
![]() |
| Thread Tools | |
| Display Modes | |
| |