How to show month name in crystal report chart?

I am using Crystal Report 2008, in Line Chart I want to show month name like Jan Feb March on x-Axes in report. How do I show months on x-Axes?

Answers


The best way to do this is create a separate formula field with the following formula

cstr(monthname(month({YourDateFieldHere})))

Use this in your chart.

This simply pulls the month from the date here. If you require to change this any, I'm sure you can change the format by right clicking, or alternatively if it shows up 01, 02, 03 ect.. you could use a series of IF statements in your formula, for example

IF {YourDateFORMULA} = "01" THEN January

And so on, although this shouldn't be needed as the MonthName function in the original formula should cover this.


Need Your Help

char*-Array as Parameter

c++ arrays multidimensional-array parameters function-pointers

I want to put the following code in a function: (The code isn't complete, but I think it should be clear to you)

what is the impact of redundant import statements in Java?

java performance

What is effected by redundant java import statements?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.