Can someone please help
I am using windows 7 64 bit with Access xp.
I am getting and error 3134 from the following code.
I am using windows 7 64 bit with Access xp.
I am getting and error 3134 from the following code.
Code:
Private Sub Form_AfterInsert()
Dim strsql As String
On Error GoTo Form_AfterInsert_Error
strsql = "INSERT INTO tblOptions (CategoryID, Option)" & _
" VALUES(" & Chr(34) & "1326836054" & Chr(34) & "," & SQLFormat(Me.Package) & ")"
Debug.Print strsql
' CurrentDb.Execute strsql, dbFailOnError
On Error GoTo 0
Exit Sub
Form_AfterInsert_Error:
MsgBox "Error " & Err.Number & " (" & Err.Description & ") in procedure Form_AfterInsert of VBA Document Form_frmPackage"
End Sub