I have a MS Access 2003 db / Windows 7 , it is split: FE&BE.
It works fine on all my computers , also on computers running just MSAccess Run time with various operating systems, Citrix etc.
I set up a Virtual Machine in Google Cloud. using Server 2008 R2. I connect to it with RDP. I installed the DB and the MDE.
Most of the functions work fine, but on some I am getting the following message :
the expression on click you entered as the event property setting produced the following error: function is not available in expressions in query expression 'Format([end date],"mmmm yyyy")
the expression may not result in the name of a macro etc.
I tried run time versions 2003, 2007 and 2013. They all generate the same error on this VM.
The code that generated the above error, is an event in VBA:
DoCmd.OutputTo acOutputQuery, "AR YEARLY1 Bx", acFormatXLS, , True
The Query "AR YEARLY1 Bx" is as follows:
SELECT [ar yearly1 b].[MONTH] AS [Service Date], iif(private1=true,"Private","NonPRV") AS [Pay Class], insrcd AS [Insurance Plan], iif([ar yearly1 b].[transp]=0,Days) AS Daycare, RT AS [Transportation RT], OW AS [Transportation OW], I AS [Invoiced Amount], P AS [Paid Amount], W AS [Write Off Amount]
FROM [ar yearly1 b]
ORDER BY [emonth], [month], insrcd, days DESC;
Posted by: sarahk@schemesoftware.com
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (1) |
Tidak ada komentar:
Posting Komentar