错误3075 - 语法错误

时间:2017-08-24 09:57:41

标签: access-vba

当我写

时,我的代码在以下代码上崩溃了
" ***and LaDate=#"" & Format([LaDate] - 1, ""mm/dd/yyyy"") & ""#"")) = 0))*** As C " 

上述代码有什么问题?

SELECT LaTable.Num, LaTable.LaDate,((DCount(""LaDate"", ""Latable"", ""Num="" & ""[num] "" " _
& " ***and LaDate=#"" & Format([LaDate] - 1, ""mm/dd/yyyy"") & ""#"")) = 0***)) As C " _
          & " FROM LaTable " _
          & " WHERE (((DCount(""LaDate"", ""Latable"", ""Num=" _
                   & "[num]  and LaDate=#"" & Format([LaDate] - 1, ""mm/dd/yyyy"") & ""#"")) = 0)) " _
          & " ORDER BY LaTable.Num, LaTable.LaDate;

1 个答案:

答案 0 :(得分:0)

尝试:

curl_setopt($curl, CURLOPT_POST, true);