Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with expression / validation in Access

Status
Not open for further replies.

redeyes1965

Technical User
May 12, 2001
76
GB
Hi can anyone help with this.

I have a field that is a true/false (check box) field called diposed. I also have a field called disposed date. I want disposed date field to insert the date if the disposed field is true.

Can i do this in the design of the dipsosed date field?

If not how?

Thanks
 
if diposed = -1 then
[disposed date] = now()
end if
I would place it in the after update of the of control disposed

Hope this helps
Hymn
 
Thanks for this, i cant actually make it work though. I am sure that this is just me.

am i right in thinking that i should putting the validation on the disposed control on my form.

This is what i am doing, also i get three options
a)expression builder
b)code builder
c)macro builder

which one should i be using

Thnx
 
On the Control/Field "diposed" Properties, After Update, Code Builder

Hope this helps
Hymn
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top