C
charkey
I am new to Access and have been trying to get the month name show up in the
title of a report. I am using a form for the input of the [Month] and [Year]
as numbers. Then use the form control button to execute a report. This
works great. I then would like to use the input from the form [Month] to put
the name of the month in the title of the report. I put in a text box and
can get it to display the number of the month (ex. 5) but not the name of the
month name (Ex. May). I do not know how to format it to mmmm. I tried an
array:
Dim rmonth
rmonth = Array(“Januaryâ€, “Februaryâ€, “Marchâ€, “Aprilâ€, “Mayâ€, “Juneâ€,
“Julyâ€, “Augustâ€, “Septemberâ€, “Octoberâ€, “Novemberâ€, “Decemberâ€)
rmonth()
I tried to put that in the control source and it did not work. Please help.
Thanks,
Charkey
title of a report. I am using a form for the input of the [Month] and [Year]
as numbers. Then use the form control button to execute a report. This
works great. I then would like to use the input from the form [Month] to put
the name of the month in the title of the report. I put in a text box and
can get it to display the number of the month (ex. 5) but not the name of the
month name (Ex. May). I do not know how to format it to mmmm. I tried an
array:
Dim rmonth
rmonth = Array(“Januaryâ€, “Februaryâ€, “Marchâ€, “Aprilâ€, “Mayâ€, “Juneâ€,
“Julyâ€, “Augustâ€, “Septemberâ€, “Octoberâ€, “Novemberâ€, “Decemberâ€)
rmonth()
I tried to put that in the control source and it did not work. Please help.
Thanks,
Charkey