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

Insert curent month in a field

Status
Not open for further replies.

Obalola

MIS
Apr 6, 2010
8
0
0
GB
Can anyone please tell me how to insert the current month in a column of an Access table created using a macro.
 

You can use this in VBA:
Code:
Month(Date)    [green]'returns: 11

or[/green]

MonthName(Month(Date)) [green]  'returns: November[/green]

Have fun.

---- Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top