Does anyone have any idea what i am doing wrong here? I am getting error 3078, Input or query not found. But my table exists in tht location.
Code:
SQLstr12 = ("SET IDENTITY_INSERT statusCodes ON " & _
"INSERT INTO statusCodes (statusCode, statusDescription, statusSortOrder, shortStat) " & _
"SELECT [Status Code], [Status Description], [Sort Order], [Short Stat] FROM [Status Codes] IN '" & strOldDBpath & "';")
db.Execute SQLstr12, dbFailOnError