Reputation: 63
I need to make the default value for a certain field in Access be a certain letter representing the current month. For example, the month of January displays "A" the month of February displays "B" etc.
What I have now is:
=(Month(Now()),"A","B","C","D","E","F","G","H","I","J","K","L")
Upvotes: 2
Views: 62
Reputation: 123839
Try opening the table in Design View and setting the Default Value
property of the field in question to
=Chr(Asc("A")+Month(Date())-1)
Upvotes: 1