+ Reply to Thread
Results 1 to 13 of 13

converting YYYYDDMM to MMM YYYY in MS Access Query

  1. #1
    Registered User
    Join Date
    01-04-2016
    Location
    Sydney
    MS-Off Ver
    2013
    Posts
    8

    converting YYYYDDMM to MMM YYYY in MS Access Query

    Could you please help me converting YYYYDDMM to MMM YYYY in MS Access Query. The date is live database is in format YYYYMMDD and needs to be converting into in MMM YYYY format. Could you please help. Screen shot attached thanks

    The date on live database is in format 20150101 and i need to convert it into Jan 2015. Can you please advise how we can do it, Thanks
    Attached Images Attached Images
    Last edited by lsingh165; 01-04-2016 at 09:24 PM. Reason: more info

  2. #2
    Valued Forum Contributor Kamboj's Avatar
    Join Date
    09-25-2014
    Location
    India
    MS-Off Ver
    2003 - 2010
    Posts
    430

    Re: converting YYYYDDMM to MMM YYYY in MS Access Query

    use this:-
    Please Login or Register  to view this content.
    Kamboj
    _________________________________________________________________________________
    Mark the thread as SOLVED if my answer satisfy you.

  3. #3
    Registered User
    Join Date
    01-04-2016
    Location
    Sydney
    MS-Off Ver
    2013
    Posts
    8

    Re: converting YYYYDDMM to MMM YYYY in MS Access Query

    Hi Kamboj, Thanks mate. its' a great help. The problem is that now its coming up datatype mismatch in criteria expression error. Is there something else I need to do, Thanks Lucky

  4. #4
    Valued Forum Contributor Kamboj's Avatar
    Join Date
    09-25-2014
    Location
    India
    MS-Off Ver
    2003 - 2010
    Posts
    430

    Re: converting YYYYDDMM to MMM YYYY in MS Access Query

    for that you can use date in another field so that date function can be used or if you have any problem then upload the file with your example.

  5. #5
    Registered User
    Join Date
    01-04-2016
    Location
    Sydney
    MS-Off Ver
    2013
    Posts
    8

    Re: converting YYYYDDMM to MMM YYYY in MS Access Query

    hey mate, I am using date function and its working fine as mentioned below. Don't know the above function you have advised is coming up with data mismatch error

    Date_Open: CDate(Right([AAODTE],2) & "/" & Mid([AAODTE],5,2) & "/" & Left([AAODTE],4))

  6. #6
    Valued Forum Contributor Kamboj's Avatar
    Join Date
    09-25-2014
    Location
    India
    MS-Off Ver
    2003 - 2010
    Posts
    430

    Re: converting YYYYDDMM to MMM YYYY in MS Access Query

    ok then use this

    date_Open: Format([AAODTE],"mmm-yyyy")

  7. #7
    Registered User
    Join Date
    01-04-2016
    Location
    Sydney
    MS-Off Ver
    2013
    Posts
    8

    Re: converting YYYYDDMM to MMM YYYY in MS Access Query

    overflow error mate. I think format is an issue YYYYDDMM

  8. #8
    Valued Forum Contributor Kamboj's Avatar
    Join Date
    09-25-2014
    Location
    India
    MS-Off Ver
    2003 - 2010
    Posts
    430

    Re: converting YYYYDDMM to MMM YYYY in MS Access Query

    just upload the file I want to see what is the query format you retrieve.

  9. #9
    Registered User
    Join Date
    01-04-2016
    Location
    Sydney
    MS-Off Ver
    2013
    Posts
    8

    Re: converting YYYYDDMM to MMM YYYY in MS Access Query

    hey mate, its a live database linked through i series. you may not be able to run it. but I can so teamviewer session with you . My contact is 00661402662619.

  10. #10
    Registered User
    Join Date
    01-04-2016
    Location
    Sydney
    MS-Off Ver
    2013
    Posts
    8

    Re: converting YYYYDDMM to MMM YYYY in MS Access Query

    if you send me a message on what's app we can quickly look into it through team viewer, Thanks mate

  11. #11
    Registered User
    Join Date
    01-04-2016
    Location
    Sydney
    MS-Off Ver
    2013
    Posts
    8

    Re: converting YYYYDDMM to MMM YYYY in MS Access Query

    My contact no is +61402662619. I can send you my team viewer details on whats app if its okay with you

  12. #12
    Registered User
    Join Date
    01-04-2016
    Location
    Sydney
    MS-Off Ver
    2013
    Posts
    8

    Re: converting YYYYDDMM to MMM YYYY in MS Access Query

    Thanks Kamboj for help mate. Really glad to see your competency in access. just for everyone , kamboj fixed my access problem with in 10-15 mins through team viewer . Great help mate. I highly appreciated your help. May bother you again down the line

  13. #13
    Valued Forum Contributor Kamboj's Avatar
    Join Date
    09-25-2014
    Location
    India
    MS-Off Ver
    2003 - 2010
    Posts
    430

    Re: converting YYYYDDMM to MMM YYYY in MS Access Query

    Thanks
    Its my pleasure.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Converting '(M)M/DD/YYYY' to 'YYYY-MM-DD'? How on earth can it be done!?
    By mikemeadeuk in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-04-2015, 09:55 AM
  2. Converting dates: YYYY-MM-DD into DD Month YYYY
    By jacopo in forum Excel General
    Replies: 3
    Last Post: 10-21-2014, 07:39 PM
  3. [SOLVED] Converting dates from dd/mm/yyyy to mm/dd/yyyy
    By treeantz in forum Excel General
    Replies: 6
    Last Post: 01-04-2013, 03:34 AM
  4. Copy+Paste macro dd/mm/yyyy to dd/mm/yyyy and NOT dd/mm/yyyy to mm/dd/yyyy
    By uimhirADo in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-08-2012, 03:45 AM
  5. Converting a format into dd/mm/yyyy hh:mm
    By wetbean in forum Excel General
    Replies: 1
    Last Post: 04-02-2012, 07:37 AM
  6. Converting mm/dd/yyyy into yyyy/mm/dd
    By fredmeister in forum Excel General
    Replies: 15
    Last Post: 03-28-2008, 01:18 PM
  7. Converting DD/MM/YYYY format into text MMYYYY
    By giantwolf in forum Excel General
    Replies: 3
    Last Post: 08-03-2006, 11:00 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1