[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Month Abbreviation

Posted on 2014-08-22
3
Medium Priority
?
665 Views
Last Modified: 2014-08-24
Hi there,

No matter what I try I can't get this to work.  I have a date field, event date and from that I have pulled out the month

month ({eventdate}) which returned a number.  From there, I built another formula to return text
monthname ({event month})

but I want the month name to be short form, eg. Jan instead of January.  The field was then used in a cross tab but it's too long.

Any ideas?

(I don't see the points option either to assign points to this case?)

Thanks very much,
CS
0
Comment
Question by:rporter45
3 Comments
 
LVL 101

Accepted Solution

by:
mlmcc earned 2000 total points
ID: 40279674
Try

MonthName({eventdate}, TRUE)

The TRUE is optional and is used to determine if the month should be abbreviated or not.

You can also do it with CStr or ToText

CSCtr({eventdate},"MMM")

YOu use 4 Ms for the full name

mlmcc
0
 

Author Closing Comment

by:rporter45
ID: 40280625
All options worked perfectly - thank you very much!
0
 

Expert Comment

by:Willarki
ID: 40282047
Could also just have used the {eventdate} for the row of the crosstab, change group options to 'for each month' and set the format for that to be whatever you want.  No formulas required.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question