a. To modify the table location to include a column TotalFees having datatype as currency and create and run totals query on condounit table to get total fees by location and update the location table with these values manually.
b.
To create and check data macro for the after-insert event in the CondoUnit table to include the value of added condo fee in new record to the total fees in location table whenever there is insertion of new record in CondoUnit table.
c.
To create and check data macro for the after-update event in the CondoUnit table to add the difference between new condo fee and old condo fee to the total fees for the appropriate location.
d.
To create and check data macro for the after-delete event in the CondoUnit table to subtract the condo fee from the total fees for the appropriate location when deleting a row in the CondoUnit table.
Want to see the full answer?
Check out a sample textbook solutionChapter 4 Solutions
Concepts of Database Management
- Computer Networking: A Top-Down Approach (7th Edi...Computer EngineeringISBN:9780133594140Author:James Kurose, Keith RossPublisher:PEARSONComputer Organization and Design MIPS Edition, Fi...Computer EngineeringISBN:9780124077263Author:David A. Patterson, John L. HennessyPublisher:Elsevier ScienceNetwork+ Guide to Networks (MindTap Course List)Computer EngineeringISBN:9781337569330Author:Jill West, Tamara Dean, Jean AndrewsPublisher:Cengage Learning
- Concepts of Database ManagementComputer EngineeringISBN:9781337093422Author:Joy L. Starks, Philip J. Pratt, Mary Z. LastPublisher:Cengage LearningPrelude to ProgrammingComputer EngineeringISBN:9780133750423Author:VENIT, StewartPublisher:Pearson EducationSc Business Data Communications and Networking, T...Computer EngineeringISBN:9781119368830Author:FITZGERALDPublisher:WILEY