Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CurrentMonth and Year

Status
Not open for further replies.

Steve95

MIS
Nov 3, 2004
265
US
Hi All

I need to know how to compile a formula showing current month and year as one field e.g. October 2005....

Many Thanks in Advance
 
Assumming you have a date or date-time field, just format the field to display this way.

Software Sales, Training, Implementation and Support for Macola, eSynergy, and Crystal Reports
 
That is it, this information needs to be displayed on a coverpage...so this report has no datasource, just has a pic, text box and a need a current month and year displayed eg. October 2005.

Many Thanks
 
I use this in 8.5

LeadingCaps (Monthname(Month(currentdate)))&" "& Totext(Year(Currentdate),0,"")

/Jonas
 
Thanks

also figured out do a month formula and year formula and then add both to a text box...

Cheers
 
Sounds like you over complicated it.

You could of just placed the PrintDate special field on the report and then just formatted it to display like "October 2005"

or

If you did a formula, you could have have just used the ToTect function:

ToText(CurrentDate,"MMMM yyyy")

~Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top