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())
 

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