TryTryAgain
Programmer
I have a database that has primary table 1, related to table 2, which is related to table 3, and 3 other tables related to table number 3. Table one has a one to many relationship to table 2, table 2 has a one to many relationship to table 3, and table 3 has a one to many relationship to its related tables. All have an Auto key (indexed - no duplicates), in addition to some other keys that are indexed (duplicates allowed).I have the relationships set for cascading deletes.
I'm using a command button (code generated by the Wizard)with some additional code by me added to ensure I get the right record to delete records. When I delete a record in any of the subordinat tables to table 3, everything is fine. When I delete a record in table 3, it cascades the deletes up - it deletes all other records in table 3, plus the related record in table 2, and the related record in table 1. Does anyone know what I have set up incorrectly? I can find nothing in the Help or manuals that discuss this problem.
I appreciate anyone who will take pity......
I'm using a command button (code generated by the Wizard)with some additional code by me added to ensure I get the right record to delete records. When I delete a record in any of the subordinat tables to table 3, everything is fine. When I delete a record in table 3, it cascades the deletes up - it deletes all other records in table 3, plus the related record in table 2, and the related record in table 1. Does anyone know what I have set up incorrectly? I can find nothing in the Help or manuals that discuss this problem.
I appreciate anyone who will take pity......