Apr 12, 2005 #1 Johnny42 Technical User Joined Jul 13, 2004 Messages 127 Location CA Can I Delete ALL records from multiple tables?
Apr 12, 2005 #2 lupins46 MIS Joined Feb 19, 2004 Messages 2,509 Location 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 12, 2005 1 #3 BNPMike Technical User Joined Sep 17, 2001 Messages 1,818 Location GB If you use a Macro. Upvote 0 Downvote
Apr 13, 2005 Thread starter #4 Johnny42 Technical User Joined Jul 13, 2004 Messages 127 Location CA Ok thanks ! Upvote 0 Downvote
Apr 13, 2005 Thread starter #5 Johnny42 Technical User Joined Jul 13, 2004 Messages 127 Location CA could I use a cascade delete trigger ? Upvote 0 Downvote
Apr 13, 2005 1 #6 PHV MIS Joined Nov 8, 2002 Messages 53,708 Location 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 Joined Jul 13, 2004 Messages 127 Location 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 Joined Nov 8, 2002 Messages 53,708 Location 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