Formatting a text box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a text box that will have an integer value ranging from 1 to 12. It
represents the months of the year. I've tried using mmmm in the Format
property so "September" will be displayed instead of "9" but "9" is still
displayed.

Am I going about this in the right way? Any help is appreciated. Thanks.

David
 
Set the ControlSource of your text box to:
=MonthName([SomeField])
without the formatting.

If you are using an older version of Access:
=DateSerial(2001, [SomeField], 1)
and retain your formatting. Any year will give the result.
 
Back
Top