michaeljohannes
Registered User.
- Local time
- Today, 14:40
- Joined
- May 3, 2007
- Messages
- 67
Hello,
Can anyone suggest a possible solution for the following problem?
I have a simple popup form that has a checklist of events the my company wants to keep track of. Basically, I have 5 check boxes. Next to each of these check boxes I have a date column. ie checkbox1 represents (Did client x call back?) If a user clicks the checkbox, a date column (checkbox1date) becomes visible.
Put more simply (for my sake!)
If checkbox1 <> null then checkbox1date = visible
The problem is that if I use the trick of making the checkbox1date control on the form "Not visible" and use the simple script as part of the OnClick event of the checkbox1:
... the checkbox1date control will not appear (not visible) the next time the form is loaded.
I apologize if that's confusing... I don't think this is a tough problem but need an expert's advice.
This is what I have so far...
Thanks for responding!
Can anyone suggest a possible solution for the following problem?
I have a simple popup form that has a checklist of events the my company wants to keep track of. Basically, I have 5 check boxes. Next to each of these check boxes I have a date column. ie checkbox1 represents (Did client x call back?) If a user clicks the checkbox, a date column (checkbox1date) becomes visible.
Put more simply (for my sake!)
If checkbox1 <> null then checkbox1date = visible
The problem is that if I use the trick of making the checkbox1date control on the form "Not visible" and use the simple script as part of the OnClick event of the checkbox1:
Code:
checkbox1date.visible = Not checkbox1date.visible
... the checkbox1date control will not appear (not visible) the next time the form is loaded.
I apologize if that's confusing... I don't think this is a tough problem but need an expert's advice.
This is what I have so far...
Code:
Private Sub Form_Current()
cbdate = Val(checkbox1.Value)
If cbdate <> Null Then
checkbox1date.Visible = True
Else
checkbox1date.Visible = False
End If
End Sub
Thanks for responding!