J
Joe Williams
hi, I am trying to execute code to delete a record that has a concatenated
primary key of two fields. I am getting a 3061 error: "two few parameters"
whenthe docmd.runSQL command is executed. I am sure it is something to do
with how I am building the SQL statement. Here is my code to build the SQL:
strSQL = "Delete * From Levels Where [PolicyLevel]=""" & strLevels & """ and
[PolicyName]=""" & strName & """"
What I am doing wrong in order to delete a record with a conatenated primary
key?
THanks
Joe
primary key of two fields. I am getting a 3061 error: "two few parameters"
whenthe docmd.runSQL command is executed. I am sure it is something to do
with how I am building the SQL statement. Here is my code to build the SQL:
strSQL = "Delete * From Levels Where [PolicyLevel]=""" & strLevels & """ and
[PolicyName]=""" & strName & """"
What I am doing wrong in order to delete a record with a conatenated primary
key?
THanks
Joe