hello to all
I'm puzzled as to why my code doesn't work. Here's the code...
I get the "You are about to Append..." prompt, then the error message "No database specified in connection string or IN clause.".
I've checked a hundred times - TABLE: tbl_TEST_DATA___VC6 really is in mdb File: tRef___TEST.mdb having the Path specified. I can't figure out why I keep getting the error message. The destination table really is there!
(When I remove the INSERT INTO line, the SELECT query runs perfectly)
I'm puzzled as to why my code doesn't work. Here's the code...
Code:
INSERT INTO [;Database = C:\Users\VC\Desktop\tRef\tRef___TEST.mdb].tbl_TEST_DATA___VC6 (Model, K, S, R, ID, D_R, D_L)
SELECT Q.FirstOfModel, Q.KT, Q.KS, Q.RSS, Q.ID, Q.SumOfDist_R, Q.SumOfDist_L
FROM qryTEST AS Q;
I get the "You are about to Append..." prompt, then the error message "No database specified in connection string or IN clause.".
I've checked a hundred times - TABLE: tbl_TEST_DATA___VC6 really is in mdb File: tRef___TEST.mdb having the Path specified. I can't figure out why I keep getting the error message. The destination table really is there!
(When I remove the INSERT INTO line, the SELECT query runs perfectly)