Results 1 to 7 of 7
  1. #1
    RogerD is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Dec 2014
    Location
    Ky
    Posts
    27

    Split database error message "Function name that Microsoft Access can't find"

    I have an access database that I split this week. It was working perfectly until this morning. When I opened the database and attempted to update incoming raw materials, I received an error message. "The expression you entered has a function name that Microsoft Access can't find." The error is caused by the default value for Entry Date=now(). This is in the table for all incoming raw materials. The last record in the table is blank except for where the default date/time should be, but instead has the value #NAME.

    Purpose is, when a user enters a vendor release into the database, the entry date and time are entered for tracking purposes. Format=General Date, Default Value= now()



    I have restarted my computer, compacted and repaired the db, opened the table from the BE to check it out. It works OK when opening the table only from the BE, but when opening the database from the FE, it doesn't work.

    We also have a query that filters the information from the table to show the user only the data that is scheduled to arrive with a value =now()-2. That query is also not working. If I remove the qualifier =now()-2, the query works fine.
    If I remove the default value from the table =now(), the table works fine
    We were going live on Monday 4/2, but until this can be resolved, we will delay.
    thanks in advance for your help!

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,522
    that is a false error, because you know Now is a legal function...
    when that happens its usu ALWAYS a bad reference:
    in vbe (alt-F11), menu, tools, references,
    in the checked list, there is a MISSING item. Uncheck that one and find the version that does exist.

    date math is done with:
    DAteAdd("d",#,date)
    and
    DateDiff()

  3. #3
    Gina Maylone is offline Always learning
    Windows 10 Access 2016
    Join Date
    Jun 2013
    Location
    Afton, MN
    Posts
    544
    Hi! Do you really want the entry date to include the time too? now() will give you that (3/30/2018 7:54:03 AM)

    HTH

  4. #4
    RogerD is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Dec 2014
    Location
    Ky
    Posts
    27
    Ranman256
    Thanks for the quick response
    When I do Alt F11, references comes up. Checked items are:
    VBA for applications
    MS Access 15.0 Object Library
    OLE Automation
    MS ActiveX Data Objects 2.1 Library
    MSO 15.0Access Database engine OBject
    MS ViBA for App
    We are still using the original db, and I had already checked this, but both split and original database are the same.
    Gina Malone
    thanks for the quick response, yes, we do want and are/were receiving as per your response.

  5. #5
    RogerD is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Dec 2014
    Location
    Ky
    Posts
    27
    Ranman256
    OK I was checking the FE of the split db.
    when I checked the BE of the split db, I found 3 unchecked items.
    I checked them, will now reboot my pc, (didn't work when I tried without rebooting) and see what happens!
    thanks

  6. #6
    RogerD is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Dec 2014
    Location
    Ky
    Posts
    27
    this did not resolve the issue.
    Unsure where to go now!?

  7. #7
    RogerD is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Dec 2014
    Location
    Ky
    Posts
    27
    I restored from 3/28 and it is working properly. What could have happened to the database to cause it to quit working on 3/30 when it worked perfectly on 3/29?

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

Similar Threads

  1. Replies: 5
    Last Post: 10-27-2014, 07:59 PM
  2. Suppress "Error" message following "Cancel = True"
    By GraeagleBill in forum Programming
    Replies: 7
    Last Post: 03-23-2014, 05:40 PM
  3. Replies: 4
    Last Post: 11-05-2013, 03:46 PM
  4. Replies: 2
    Last Post: 11-04-2011, 02:45 AM
  5. Error message and How do I find the "value Field" ?
    By createdwithfire in forum Forms
    Replies: 1
    Last Post: 11-05-2009, 12:26 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