Hi all -
Office Pro 2016, Access tables are saved as 2007-2016 format.
We have a database that has been working fine. A form allows a user to supply a variable, and a query uses that variable (a name) to inner join other tables and supply a report based on a VBA code for date Date(). Has worked just fine.
Lately, we get the "Undefined function 'Date' in expression" error, with code 2950.
I have a backup copy of the database in the exact same location that works just fine. It has older data so I cannot use it, but it does not generate the error and works fine. The queries are exactly the same, and both files sit in the same location.
I have gone through the trust thing, finally telling Access to trust the entire C:\ drive and all subfolders. The backup copy works fine, the current gives the error.
I have compacted and repaired, same result. Tables are the same, query is the same, files sitting in the same folder.
? Any thoughts?
Office Pro 2016, Access tables are saved as 2007-2016 format.
We have a database that has been working fine. A form allows a user to supply a variable, and a query uses that variable (a name) to inner join other tables and supply a report based on a VBA code for date Date(). Has worked just fine.
Lately, we get the "Undefined function 'Date' in expression" error, with code 2950.
I have a backup copy of the database in the exact same location that works just fine. It has older data so I cannot use it, but it does not generate the error and works fine. The queries are exactly the same, and both files sit in the same location.
I have gone through the trust thing, finally telling Access to trust the entire C:\ drive and all subfolders. The backup copy works fine, the current gives the error.
I have compacted and repaired, same result. Tables are the same, query is the same, files sitting in the same folder.
? Any thoughts?