NebraskaUser
Registered User.
- Local time
- Today, 14:07
- Joined
- Aug 17, 2018
- Messages
- 12
If I need to delete every record in a table, how do I programmatically do that in VBA? Here's the code I currently have, and it isn't working. It deletes one record, then errs out.
If myR.RecordCount > 0 Then
For RC = 1 To myR.RecordCount
myR.Delete
Next RC
End If
If myR.RecordCount > 0 Then
For RC = 1 To myR.RecordCount
myR.Delete
Next RC
End If