checkbox + textbox

  • Thread starter Thread starter Dreamer
  • Start date Start date
D

Dreamer

Hello to all!

I have in a Form, "1 text box (date)" and one "checkbox" and need the
following thing. That when a date in the text box is entered, it is
obligatory to mark the "checkbox" or that is marked automatically in the
best one of the cases.

Thanks for its aid!
 
Dreamer said:
Hello to all!

I have in a Form, "1 text box (date)" and one "checkbox" and need the
following thing. That when a date in the text box is entered, it is
obligatory to mark the "checkbox" or that is marked automatically in the
best one of the cases.


In the AfterUpdate property for the textbox control, choose Event Procedure
and put

If IsNull(Me!NameOfTextBox) then
Me!NameOfCheckBox = false
Else
Me!NameOfCheckBox = true
End If
 

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

Similar Threads

Checkbox Question 6
Loop through checkboxes 7
CheckBox 3
Access Microsoft access database(creating a search engine form) 0
CheckBox Help 4
Update Checkbox 3
IF statement...I think 19
make checkbox disappear 2

Back
Top