If DCount("*", "[TReg]", "[Bank] = " & RegID) <= 0 Then 'Purpose: Check is Bank Account Exists in TReg Table.
Table being used on form is TBanks and table to apend to is TReg
I wanted to check and see if the Bank was in the table and if not append it.
Append query is appending form TBanks table to TReg table.
Above code gives me an error saying; Syntax error (missing operator) in query expression {bank}
There is ONLY one field in the append query and it is Bank and it is found in both tables.
Bank field in TReg table uses limit to list, is this a problem? Bank field looks up Bank form table TBanks as a combo?
Table TBanks has its Primary Key as bankid