Hello.
I am setting up a button on a form to delete all records from a table and refresh the form. I have set up a delete query to do so.
If I run the query by itself, it deletes all records in the table as intended. However, if I call the query from the form, it deletes all but one record. Any ideas? Here is my code.
Thanks in advance
dcnick
DoCmd.OpenQuery ("qryCleartblRunMatrix")
Me.Requery
I am setting up a button on a form to delete all records from a table and refresh the form. I have set up a delete query to do so.
If I run the query by itself, it deletes all records in the table as intended. However, if I call the query from the form, it deletes all but one record. Any ideas? Here is my code.
Thanks in advance
dcnick
DoCmd.OpenQuery ("qryCleartblRunMatrix")
Me.Requery