Share via

Format Function not found in Access 2010 database

Anonymous
2012-06-21T15:19:39+00:00

I have an Access 2010 database that had many Format functions in both queries and VB code. It works fine.  I created a new Access database and now get a popup that says "Undefined function 'Format' in expression". I checked all my VB References, none are missing. I decompiled and recompiled the database and it finds all the Format Functions and gives an error.

I was doing some minor changes to the original, working Access database, the one where the Format Function was still working and, about half way through the editing I now get the same error.

The databases are on my computer only and are not web applications, they just created Excel spreadsheets for our team. Does anyone have any other suggestions as to what might be causing this issue.

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

4 answers

Sort by: Most helpful
  1. Anonymous
    2012-06-22T20:37:08+00:00

    I am not sure what you mean about it may say missing but may BE missing. None are missing. And I have decompiled and recompiled the database and I continue to get the same error.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2012-06-23T00:11:30+00:00

    Please post what Reference you have here....

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2012-06-22T20:40:37+00:00

    Hine meant to type None, but missed the N key.  Ma note of the references you have and then try unchecking all the references and then rechecking each one.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2012-06-22T19:19:06+00:00

    one of the Reference may say missing but they may in fact BE missing.  What References are listed there?  (You can also have a look at  http://www.access-diva.com/d5.html)

    Was this answer helpful?

    0 comments No comments