Results 1 to 2 of 2
  1. #1
    drunkenneo is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Jun 2013
    Posts
    199

    Date Result Varies

    this is lot to ask, but i have to as i searched all the forums for idea.



    I have a dateTravel field in table Datatype "dd/mm/yyyy", which is populate from the form textbox, having long date format.

    I have to check duplicates before writing to table which i made a statement:

    int1 = DCount("*", "tblDataentry", "(([tblDataentry].[dateTravel] =#" & d & "#)

    yesterday was working fine but today not fetching duplicate, i have tried using format also but result varies from day to day. Help Needed.

  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,652
    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. Can't get one date result - trying this code
    By Ruegen in forum Programming
    Replies: 9
    Last Post: 11-05-2013, 03:43 PM
  2. convert result of date claculation to number
    By survivo01 in forum Queries
    Replies: 1
    Last Post: 08-12-2013, 02:46 PM
  3. Replies: 1
    Last Post: 02-23-2013, 12:30 AM
  4. Replies: 2
    Last Post: 09-18-2011, 03:45 AM
  5. Return DLookup result as date?
    By kman42 in forum Access
    Replies: 8
    Last Post: 04-22-2011, 11:35 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