Hi All,
I have posed this question before but have not had a working answer as yet please some one help
I need to select a record set using criteria then delete the records from the table.
My code line I am using is as follows
CurrentDb.Execute "DELETE * FROM [RiskCodes with ReportKey] WHERE ReportKey = me![ReportKey];"
But I get the following error
Too Few Parameters. Expected 1
Both fields are text fields and I am suspecting it is just a formating problem.
If there anyone that can help me
Tony
I have posed this question before but have not had a working answer as yet please some one help
I need to select a record set using criteria then delete the records from the table.
My code line I am using is as follows
CurrentDb.Execute "DELETE * FROM [RiskCodes with ReportKey] WHERE ReportKey = me![ReportKey];"
But I get the following error
Too Few Parameters. Expected 1
Both fields are text fields and I am suspecting it is just a formating problem.
If there anyone that can help me
Tony