I have a table "BankDebits" (containing three fields: Store, Amount, Date) from which I am trying to populate the contents into a temp table "tmpBankDebitConcatenate" (containg four fields: Store, Amount, DebitDate, and ConcatenateBankDebits). Note: I am, for other reasons than are evident here, having to format a date during this query from dd/mm/yyyy to mm/dd/yy and also having to form the concatenation field for a comparison in another table... any clues? It is saying i am missing an operator:
INSERT INTO tmpBankDebitConcatenate
SELECT
BankDebits.Store AS Store,
BankDebits.Amount AS Amount,
(((((Left (BankDebits.Date, 2)) AS DebitDay,
((Mid (BankDebits.Date, 4, 2)) AS DebitMonth,
((Right (BankDebits.Date, 2)) AS DebitYear),
DebitMonth + '/' + DebitDay + '/' + DebitYear)
AS DebitDate,
Store & " " & Amount & " " & DebitDate AS ConcatenateBankDebits
FROM BankDebits;