Results 1 to 2 of 2
  1. #1
    JediPhantom is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Feb 2016
    Posts
    1

    Datediff


    Hello, I am trying to calcualte the number of minutes by using this formula - Timeleft: DateDiff("n",[Date Required],[Datechecked]), which works, however if I try to find values greater than 0, by typing >0 in the criteria row, I get a data mismatch error..is there a way around this problem?

    thanks

    JediP

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    I just tried this and didn't get an error. Are those really date/time fields? Can you attach a sample db here that has the error?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. DateDiff Help
    By iProRyan in forum Forms
    Replies: 1
    Last Post: 03-29-2012, 03:57 AM
  2. DateDiff
    By mrkaye in forum Forms
    Replies: 18
    Last Post: 11-19-2010, 08:19 AM
  3. DateDiff
    By ROB in forum Access
    Replies: 2
    Last Post: 10-30-2010, 03:58 AM
  4. How to use DateDiff?
    By teirrah1995 in forum Queries
    Replies: 10
    Last Post: 10-19-2010, 12:07 PM
  5. Datediff
    By greggue in forum Queries
    Replies: 2
    Last Post: 08-13-2010, 03:53 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