All,
I'm using Access 97 and I need to build a routine that deletes objects (in this case, tables) according to a wildcard specification.
The table names all start the same way (tblx...), and there are almost 400 of them, so what I want to do is delete them all without having to specify their names.
The command I really want is something like:
DoCmd.DeleteObject acTable, "tblx*"
Obviously, this doesn't work. Does anybody have a workaround?
Your help much appreciated.
Ed.
I'm using Access 97 and I need to build a routine that deletes objects (in this case, tables) according to a wildcard specification.
The table names all start the same way (tblx...), and there are almost 400 of them, so what I want to do is delete them all without having to specify their names.
The command I really want is something like:
DoCmd.DeleteObject acTable, "tblx*"
Obviously, this doesn't work. Does anybody have a workaround?
Your help much appreciated.
Ed.