C
Craig
SELECT [AccountID], [ClearDate]
SWITCH([ClearDate]>=[ClearDate],2,TRUE,1) AS Expr1
FROM
qry_Detail_Transactions
LEFT JOIN
qry_OpeningBalance_ClearDate
ON
qry_Detail_Transactions.[AccountID] =
qry_OpeningBalance_ClearDate.AccountID
ORDER BY
AccountID, ClearDate;
I get a syntax error message (missing operator) in query
expression at the cleardate SWITCH line...can't seem to
figure it out.
Thanks.
SWITCH([ClearDate]>=[ClearDate],2,TRUE,1) AS Expr1
FROM
qry_Detail_Transactions
LEFT JOIN
qry_OpeningBalance_ClearDate
ON
qry_Detail_Transactions.[AccountID] =
qry_OpeningBalance_ClearDate.AccountID
ORDER BY
AccountID, ClearDate;
I get a syntax error message (missing operator) in query
expression at the cleardate SWITCH line...can't seem to
figure it out.
Thanks.