Hello,
I am getting the above error from the below code and don't understand why.
Can someone please enlighten me?
Thanks in advance.
DWG23
I am getting the above error from the below code and don't understand why.
Can someone please enlighten me?
Thanks in advance.
DWG23
SQL:
Select
Tx.TxSource,
Tx.TxType,
Tx.TxDate,
Tx.SourceTxReference
From
tblglTxHistory Tx Inner Join
tblapVoucher On Tx.SourceTxReference = tblapVoucher.VoucherNumber + tblapVoucherLine.VoucherLineNumber + tblapVoucher.Vendor Inner Join
tblapVoucherLine On tblapVoucherLine.VoucherNumber =
tblapVoucher.VoucherNumber
Where
Tx.TxSource = 'APVCHR' And
(Tx.TxType = 'APEXP' Or
Tx.TxType = 'pndpay' Or
Tx.TxType = 'DRPFRT' Or
Tx.TxType = 'APDROP') And
Tx.TxDate > '04/01/2015'