Please help me correct the following query:
SQL = \"insert into tblContract (Empid, Start1, Finish1, Store1, \" & _ \"Start2, Finish2, St
Sub-queries should be enclosed in parentheses: (select max(testid) FROM tbltesting)
(select max(testid) FROM tbltesting)
Note that your SQL engine will probably not support sub-queries in the INSERT statement, so you should insert using a INSERT...SELECT query instead.
INSERT
INSERT...SELECT