Apr 12, 2005 #1 Johnny42 Technical User Jul 13, 2004 127 CA Can I Delete ALL records from multiple tables?
Apr 12, 2005 #2 lupins46 MIS Feb 19, 2004 2,509 GB Not unless they are related and have cascade delete selected. Otherwise you have to delete records one table at a time. Upvote 0 Downvote
Not unless they are related and have cascade delete selected. Otherwise you have to delete records one table at a time.
Apr 13, 2005 Thread starter #4 Johnny42 Technical User Jul 13, 2004 127 CA Ok thanks ! Upvote 0 Downvote
Apr 13, 2005 Thread starter #5 Johnny42 Technical User Jul 13, 2004 127 CA could I use a cascade delete trigger ? Upvote 0 Downvote
Apr 13, 2005 1 #6 PHV MIS Nov 8, 2002 53,708 FR could I use a cascade delete trigger ? Yes, if the table are related and the RelationShips are properly set with referential integrity enforced. Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244 Upvote 0 Downvote
could I use a cascade delete trigger ? Yes, if the table are related and the RelationShips are properly set with referential integrity enforced. Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
Apr 13, 2005 Thread starter #7 Johnny42 Technical User Jul 13, 2004 127 CA Not sure I understand, however I dont think the tables are related... I'm trying to automate the deletion of "Test" data across my DB Upvote 0 Downvote
Not sure I understand, however I dont think the tables are related... I'm trying to automate the deletion of "Test" data across my DB
Apr 13, 2005 #8 PHV MIS Nov 8, 2002 53,708 FR Why not simply write a VBA procedure with some DoCmd.RunSQL "DELETE FROM ... WHERE ..." calls ? Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244 Upvote 0 Downvote
Why not simply write a VBA procedure with some DoCmd.RunSQL "DELETE FROM ... WHERE ..." calls ? Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244