Question...

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

I would like to make the following in a form:
There is a check box "Paid"
and two text boxes: "Payment Date" and "Amount".
I want to make text boxes locked and not enabled untill
the check box is checked.
Is it possible?
 
Hi Mike,

Initially set the two text fields Enabled property to
False and then you can post the following code on the
After Update Event of your CheckBox:

If Paid Then
[Payment Date].Enabled = True
[Amount].Enabled = True
Else
[Payment Date].Enabled = False
[Amount].Enabled = False
End If

Hope this helps
Mark
 
Back
Top