I'm facing problem about Run-Time Error 3131 Syntax error in FROM clause.
Please help me to resolve the problem.
Please help me to resolve the problem.
Code:
CurrentDb.Execute " INSERT INTO tblTestReport (TestDetailID, TestID, ReceiptID, ParticularsID, PARTICULARS, RESULT, UNITS, MALE, FEMALE, ABNORMAL, PartHead, PartHeadID) " _
& " SELECT TestDetailID, TestID, ReceiptID, ParticularsID, PARTICULARS, RESULT, UNITS, MALE, FEMALE, ABNORMAL, PartHead, PartHeadID " _
& " FROM tblSampleReceipts2 (tblTestDesc INNER JOIN tblTestParticulars ON tblTestDesc.TestID = tblTestParticulars.TestID) INNER JOIN tblTestDetails2 ON tblTestDesc.TestID = tblTestDetails2.TestID WHERE ReceiptID = '" & ReceiptID & "'"