Results 1 to 6 of 6
  1. #1
    Almis123 is offline Novice
    Windows XP Access 2002
    Join Date
    Dec 2021
    Posts
    3

    Unknown function 'Date' in validation expression or default value on ...

    Hello,



    Nice to see you, congratulations with New Year 2022!

    I'm newcomer here and I hope here is a place for some questions about my hobby Access
    I have an old PC with installed Access 2000 so it's time to play ...

    After building the db for my work (now it is in device repair service)
    I cannot make Access to print a report - I'm getting a message

    Click image for larger version. 

Name:	unknown function date.jpg 
Views:	38 
Size:	14.2 KB 
ID:	46964

    Unknown function 'Date' in validation expression or default value on 'Saskaitos.Pardavimo data'.
    Pls find attachments, I cannot get what is te reason, everything looks fine in that Table...



    Click image for larger version. 

Name:	Pardavimo data.jpg 
Views:	36 
Size:	94.2 KB 
ID:	46965


    hmmm. ...... where is the mistake ????

    BR,
    Almis

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,963
    The = sign is not needed but should work.

    Possibly there is a missing library reference. Open VBA editor > Tools > References > check if any have MISSING prefix.
    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
    Almis123 is offline Novice
    Windows XP Access 2002
    Join Date
    Dec 2021
    Posts
    3
    ..here we are having some Missing library, pls check the pic.
    Could you pls suggest the next step
    Attached Thumbnails Attached Thumbnails capture_005_26012022_190737.jpg  

  4. #4
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,526
    when simple normal functions dont work, its usu a bad Reference.

  5. #5
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,530
    Try to uncheck the missing DAO 2.5 reference and check the DAO 3.6 reference a few lines down.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  6. #6
    Almis123 is offline Novice
    Windows XP Access 2002
    Join Date
    Dec 2021
    Posts
    3
    It's working after uncheck of missing DAO 2.5 ... !!!
    No more mistake unknown function 'Date' .... and the new dB records now having the right date,
    even the printing start working.

    Thanks everybody helped.

    BR,
    Almis

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

Similar Threads

  1. Replies: 9
    Last Post: 12-30-2017, 11:33 AM
  2. FindNext - unknown function name
    By Mick99 in forum Access
    Replies: 4
    Last Post: 06-28-2017, 07:16 PM
  3. Replies: 10
    Last Post: 11-30-2015, 12:16 PM
  4. Expression Builder / Validation Rule
    By kdiep567 in forum Access
    Replies: 1
    Last Post: 03-20-2015, 01:31 PM
  5. Replies: 7
    Last Post: 03-04-2011, 12:46 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