Month name not displayed on form

graveyard

Registered User.
Local time
Today, 13:54
Joined
Mar 26, 2011
Messages
55
hi people, I have a pro with a form that is supposed to show the month name when user query data by inputting month number (1= January, 6 = June etc).

i set the control source of the text box (that is supposed to display the month name) as =Format([Forms]![Cover]![MonthNum],"mmm") where form!cover!monthnum is the box where user punch in the month number

but no matter what number is keyed, it always come out as Jan - pls see attachment which shld give a clearer picture. When "6" is entered, i expect to see the header to reflect "June"

Pls let me know what has gone wrong. Thanks!
 

Attachments

  • attachment.jpg
    attachment.jpg
    33.9 KB · Views: 107
thanks Bob! Will take note of the format requirement - i dont have the full date here. Nevertheless, monthnumber advised by john fixed it. :)
 

Users who are viewing this thread

Back
Top Bottom