field update

B

Bert-jan

hello
is there a way to update a field when i check another field.
I have a yes/no field and when i select yes then another field most store
the current date
how do i do this
thank Bert-Jan
 
R

Rick Brandt

Bert-jan said:
hello
is there a way to update a field when i check another field.
I have a yes/no field and when i select yes then another field most store
the current date
how do i do this
thank Bert-Jan

Use the AfterUpdate event of the CheckBox

If Me.CheckBoxName = True Then
Me.TextBoxName = Date()
Else
Me.TexBoxName = Null
End If
 
B

Bert-jan

Tanks Rick


Rick Brandt said:
Use the AfterUpdate event of the CheckBox

If Me.CheckBoxName = True Then
Me.TextBoxName = Date()
Else
Me.TexBoxName = Null
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

Top