Run-time error '3075':
Syntax error (missing operator) in query expression 'C:\Documents and Settings\etc.pd f'.
I believe I am getting this error because of the space in the file path, but I am not sure. Here is the code:
Syntax error (missing operator) in query expression 'C:\Documents and Settings\etc.pd f'.
I believe I am getting this error because of the space in the file path, but I am not sure. Here is the code:
Code:
strTable = "tblSLA"
strColumns = "(LeaseID, SLAAttachment)"
strValues = "(" & Me.LeaseID & ", " & strFile & ")"
strSQL = "INSERT INTO " & strTable & " " & strColumns & " VALUES " & strValues & ";"
DoCmd.RunSQL strSQL
Comment