Solved

Changing the format of a field in a query

Posted on 2013-06-07
3
333 Views
Last Modified: 2013-06-07
I have a query that takes two fields and combines them into one.
Rotate: [PRD] & " / " & [EAOS]

Right now the short date displays for both fields.  I want the format for both fields for this query only to display like this MMM YY.  I need the short date on other queries.

Is there a way to do it? And if so how?

Thanks
John
0
Comment
Question by:John Sheehy
3 Comments
 
LVL 49

Assisted Solution

by:Rgonzo1971
Rgonzo1971 earned 100 total points
ID: 39229005
Pls try

Rotate: format([PRD], "Short Date") & " / " & format([EAOS], "Short Date")

Regards
0
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 400 total points
ID: 39229009
Rotate: Format([PRD], "mmm yy")  & " / " & Format([EAOS], "mmm yy")

Here's more info the various formatting for Dates:

http://office.microsoft.com/en-us/access-help/format-the-date-and-time-field-in-access-HA010341474.aspx
0
 

Author Closing Comment

by:John Sheehy
ID: 39229044
The solutions were right on.  The first solotuion provided, all though did work, was not what I needed.  The display was already in the short format, I was needing it in the mmm yy format.  Which the second solution provided.  So points were awarded accordingly
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

813 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now