Solved

Changing the format of a field in a query

Posted on 2013-06-07
3
329 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 48

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…

747 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

16 Experts available now in Live!

Get 1:1 Help Now