Results 1 to 3 of 3
  1. #1
    jset818 is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2014
    Posts
    38

    Format is Date in Source Data but Text in query?

    Edit: I was able to fix the issue by reentering the dates in the Website Created column.

    I'm trying to find the number of days between two dates, the Start Date and Website Created date. They're both formatted as Date in Excel but Access sees Website Created as Text even though it's clearly Date.



    I'm using a simple [field]-[field] formula but Access keeps giving me the Datatype is Mismatch error. I even copied and pasted the rows a few times so at least 10 dates are at the top of the column. Why doesn't Access recognize it as Date? In the Source Data, almost all the cells in Start Date has a date and most of the cells in Website Created are blank.

    Expr1: [MAX Mega].[Program Start Date]-[MAX Mega].[Website Created]

    Click image for larger version. 

Name:	not recognize as date.JPG 
Views:	9 
Size:	27.5 KB 
ID:	18831

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Already marked as solved - is it? Want to share solution?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    jset818 is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2014
    Posts
    38
    Quote Originally Posted by June7 View Post
    Already marked as solved - is it? Want to share solution?
    I edited my original post with the solution. Although I'm not sure why or how it fixes it but all I did was reenter the dates in the Website Created column.

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

Similar Threads

  1. Replies: 8
    Last Post: 01-16-2013, 02:10 PM
  2. format text string as date
    By rbrem in forum Access
    Replies: 2
    Last Post: 08-28-2012, 08:39 AM
  3. tRNASFER text FILEd INTO DATE FORMAT
    By BorisGomel in forum Access
    Replies: 1
    Last Post: 01-05-2012, 10:08 AM
  4. Replies: 1
    Last Post: 08-07-2011, 07:58 AM
  5. Replies: 0
    Last Post: 10-06-2010, 11:56 AM

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