I use the following code
Set rst = CurrentDb.OpenRecordset("SELECT * FROM table;")
With rst
.Delete
End With
The problem is, this only deletes the first record.
Whats the best way to loop this/do this? (shortest code possible)
Set rst = CurrentDb.OpenRecordset("SELECT * FROM table;")
With rst
.Delete
End With
The problem is, this only deletes the first record.
Whats the best way to loop this/do this? (shortest code possible)