Results 1 to 4 of 4
  1. #1
    DefinitelyMaybe is offline Advanced Beginner
    Windows 10 Access 2002
    Join Date
    Dec 2020
    Posts
    65

    Date format changing in make table

    Hi Everyone,

    I've got a date that I am pulling in from a table that is in short form (2/12/21), when I few the result in Datasheet view it looks fine but when I run the make table it converts the date to general format with the date including the time. How can I get it to just show the short form date?

    Thanks in advance,



    Eric

  2. #2
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    Do you want to make it so the value only includes the date? If so, use DateValue() in the query. If not, I suspect you'll have to use a TableDef to change the format. Normally you wouldn't (shouldn't?) care what the format is in the table. Format it in forms and reports.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,101
    I don't think you can Eric as the short date is just a format saved within your data source (original table). You can apply the Short Date format in any query, form or report based on the resultant table (from the make-query).

    If you really want to save it in the table you run the make-table once, then you open the new table in design view, set the date format to Short date, save the table and change the make-table to an append. Next time you need to run it you will have to run a delete query first to empty the table (DELETE * FROM tblMyTable then your new append query (former make-table).

    Cheers,
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

  4. #4
    DefinitelyMaybe is offline Advanced Beginner
    Windows 10 Access 2002
    Join Date
    Dec 2020
    Posts
    65
    Thanks Vlad and Paul.... I'll just create a report and move on to my next problem

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Changing date format in recordset
    By davideitaly in forum Programming
    Replies: 6
    Last Post: 04-11-2018, 08:45 AM
  2. Replies: 3
    Last Post: 12-28-2017, 10:53 PM
  3. Changing Table ID/Auto Number Format
    By PATRICKPBME in forum Database Design
    Replies: 11
    Last Post: 08-03-2017, 01:01 PM
  4. Changing date format in large database.
    By mbenton in forum Database Design
    Replies: 4
    Last Post: 06-02-2016, 12:44 PM
  5. Make Table query is changing data format
    By kagoodwin13 in forum Queries
    Replies: 1
    Last Post: 01-14-2014, 12:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums