I am trying to insert some values into a database and I have the following SQL:
insertString = "INSERT INTO SocialHistory (ExamID, Occupation, SafetyYN, ComputerYN, ComputerHrs) Values('" & CurrentExamID.ToString & "', (SELECT Occupation, SafetyYN, ComputerYN, ComputerHrs FROM SocialHistory WHERE ExamID = '" & LastExamID & "'))"
When I execute the SQL statement, I get the error message: "Number of query values and destination fields are not the same."
Any suggestions or help on this matter is greatly appreciated.