I have created a record set of records from a table that due to the cancelling of a report need to be deleted, However I am not sure how I continue from this point. Please could someone point me in the right direction.
And in answer to your question No that is for a different task. Same database but a different section.
This request was because of the way access writes its records. Rather then filling the database up with junk I want to remove it if for some reason the user needs to exit the function that they are in. Clean it so only current information is present.
sorry for late reaction but I give a try
CurrentDb.Execute "DELETE * FROM [RiskCodes with ReportKey] WHERE ReportKey ='" & me![ReportKey] & "'"
If reportKey is a textfield u need the quotes
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.