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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top