After Update Event Procedure on a form is not working after upsizing database to SQL server. Anything to add in below code as it generate run time error 3622 "You must use the dbSeeChanges option with OpenRecordSet when accessing a SQL Server table that has an IDENTITY column."
Please help.. thanks
Please help.. thanks
Code:
Private Sub Form_AfterUpdate() Dim db As Database Set db = CurrentDb db.Execute "INSERT INTO [tblFinding_Backup] " & " SELECT * FROM [tblFinding] WHERE " & " [tblFinding].[ID]=" & Me![ID] & ";" Set db = Nothing End Sub
Comment