L Lynn Pennington Jan 8, 2004 #1 Hello. Any Ideas on how to create a macro to delete ALL records in a table??? Thanks. Lynn.
L Lynn Pennington Jan 8, 2004 #3 Thanks. Does Access have a command window where you can just type commands? Lynn.
G Guest Jan 8, 2004 #4 Les, when the macro runs, I still have to click yes twice. Is there a way to include that in the macro (Thanks Lynne for asking my question.)
Les, when the macro runs, I still have to click yes twice. Is there a way to include that in the macro (Thanks Lynne for asking my question.)
L Les Jan 8, 2004 #5 Try adding a new command into your macro - right at the top. Select the setwarnings action and set Warnings On to NO. -----Original Message----- Les, when the macro runs, I still have to click yes Click to expand... twice. Is there a way to include that in the macro?
Try adding a new command into your macro - right at the top. Select the setwarnings action and set Warnings On to NO. -----Original Message----- Les, when the macro runs, I still have to click yes Click to expand... twice. Is there a way to include that in the macro?
A Al V Jan 12, 2004 #7 In the macro, run a SQLstatement .. Delete * from (tablename). That will do it