for each tbl in tabledefs
db.execute "delete from [" & tbl.name & "]"
next tbl
Always, always, always check what downloaded code does, before copying into and running it in your own application.So as long as there isn't such a function which detects these things, always check if the code you download does the things you want it to do.
Hi JamesI know this is an old thread but I found these guys useful https://processit.co.nz/processtools.htm - Access Add-in