Year Hard-coded into record - Acc2000

S

Sheldon1

Hi,

I'm trying to write code that will hard-code the current
year into each new record added. I also want the current
year to display in the form. Please help. Thanks.

Sheldon...
 
M

Marshall Barton

Sheldon1 said:
I'm trying to write code that will hard-code the current
year into each new record added. I also want the current
year to display in the form.


Set the current year text box's DefaultValue property to
=Year(Date())
 
Top