Hello everyone
Can anyone see a problem with the following insert statement?
I am getting an error message that says
"Syntax error in insert statement"
strSQL = "INSERT INTO tblAuthorizedGroupsDetails (HECPID, Group ) "
strSQL = strSQL & "VALUES("
strSQL = strSQL & "'" & rsHECP.Fields("HECPID") & "',"
strSQL = strSQL & "'" & txtAuthorizedUsers.Tag & "')"
Both HECPID and Group fields are defined as integer.
Thank you
Parygoal
Can anyone see a problem with the following insert statement?
I am getting an error message that says
"Syntax error in insert statement"
strSQL = "INSERT INTO tblAuthorizedGroupsDetails (HECPID, Group ) "
strSQL = strSQL & "VALUES("
strSQL = strSQL & "'" & rsHECP.Fields("HECPID") & "',"
strSQL = strSQL & "'" & txtAuthorizedUsers.Tag & "')"
Both HECPID and Group fields are defined as integer.
Thank you
Parygoal