E
Elsie
hi all, the following code gave error 3075 when Last_MDY is 11/31/2003 and
Next_MDY is 1/1/2004. Why is this so?
I am looking at all invoice between 31/11/2003 and 1/1/2004 - which means
December invoices.
(((PUB_customer.[cust-type])=" & Chr(34) & "PRJT" & Chr(34) & ") AND
(([PUB_inv-hdr].[inv-date])>#" & _
Last_MDY & "# And ([PUB_inv-hdr].[inv-date])<#" & Next_MDY & "#) AND " &
_
"((PUB_currate.[eff-date])=IIf([PUB_custaddr].[curr-code]='SGD',#" & _
"9/1/2003#,#" & Current_MDY & "#)))
Next_MDY is 1/1/2004. Why is this so?
I am looking at all invoice between 31/11/2003 and 1/1/2004 - which means
December invoices.
(((PUB_customer.[cust-type])=" & Chr(34) & "PRJT" & Chr(34) & ") AND
(([PUB_inv-hdr].[inv-date])>#" & _
Last_MDY & "# And ([PUB_inv-hdr].[inv-date])<#" & Next_MDY & "#) AND " &
_
"((PUB_currate.[eff-date])=IIf([PUB_custaddr].[curr-code]='SGD',#" & _
"9/1/2003#,#" & Current_MDY & "#)))