month name module

C

Catherine Cook

I had to convert a dbase from 2002 to 2000 and 2000 does
not like the MonthName( ) command... can I build a module
into the dbase to help it?
thanks
 
R

Rick Brandt

Catherine Cook said:
I had to convert a dbase from 2002 to 2000 and 2000 does
not like the MonthName( ) command... can I build a module
into the dbase to help it?
thanks

What argument does MonthName accept? A Date? If so, just use...

Format([DateValue], "mmmm")
 
M

Marshall Barton

Catherine said:
I had to convert a dbase from 2002 to 2000 and 2000 does
not like the MonthName( ) command... can I build a module
into the dbase to help it?


Sure you can;

MonthName = Format(DateSerial(2003, monthnum, 1), "mmmm")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top