check box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to add a check box to a form that automatically enters a tick if
a "return date" has been entered on the form. Can anyone help me please.
Many thanks
 
Jbcrtilla said:
I would like to add a check box to a form that automatically enters a tick if
a "return date" has been entered on the form. Can anyone help me please.
Many thanks

In the BeforeUpdate event of your return date field, do:

If Not IsNull([ReturnDate]) then
[Checkbox].value = 1
End if
 
I would like to add a check box to a form that automatically enters a tick if
a "return date" has been entered on the form. Can anyone help me please.
Many thanks

First you need to add a Yes/No Check box field to your table, then add
it to your form.

On the form, code the [ReturnDate] AfterUpdate event:
Me![CheckBoxField] = Not IsNull([ReturnDate])
 

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