Is it possible to have a progress bar show the status of a delete query for duplicates? Then the user will know when the delete action is complete.
My delete query is:
sSQL = "DELETE [Lab Table].TDate, [Lab Table].ID, * FROM [Lab Table] WHERE ((([Lab Table].TDate) Between Date()-20 And Date()) AND (([Lab Table].ID) Not In (SELECT Min(ID) as MinID FROM [Lab Table] WHERE ([Lab Table].TDate Between Date()-20 And Date()) GROUP BY [Lab Table].LotNumber)));
My delete query is:
sSQL = "DELETE [Lab Table].TDate, [Lab Table].ID, * FROM [Lab Table] WHERE ((([Lab Table].TDate) Between Date()-20 And Date()) AND (([Lab Table].ID) Not In (SELECT Min(ID) as MinID FROM [Lab Table] WHERE ([Lab Table].TDate Between Date()-20 And Date()) GROUP BY [Lab Table].LotNumber)));