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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I have the current year be a default value in a text box?

Status
Not open for further replies.

phatbeno

Technical User
Jul 20, 2003
2
AU
How do I have the current year as a default value for a text box??? I can have the current date but not the current year...??? Please help

-Ben
 
Enter:

=Year(NOW())

into the control source field under the data tab of the properties window for the textbox. That should do the trick.

If you can't be "The Best", be the best at what you can!!!

Never say Never!!!
Nothing is impossible!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top