有人可以帮我检查下面的编码,我有语法错误。
我可能错过了一些语法。
"WHERE PaymentLedger.JobScheduleGUID = JobSchedule.GUID " & _
"AND JobSchedule.CLID = LabourProfile.CLID " & _
"AND LabourProfile.CLNationality = 'MALAYSIA' " & _
"AND (PaymentLedger.SOCSOEmployerContri > 0 or PaymentLedger.EPFEmployeeContri > 0) " & _
'"AND (PaymentLedger.Credit > 0) " & _
"AND (PaymentLedger.Credit > 0 or PaymentLedger.Debit > 0) " & _
由于
答案 0 :(得分:0)
看看这两行:
'"AND (PaymentLedger.Credit > 0) " & _
"AND (PaymentLedger.Credit > 0 or PaymentLedger.Debit > 0) " & _
1 - 删除第一个上的' 2 - 删除& _在第二个