Define a one-to-many relationship


Discuss the below:

Professional Litigation User Services (PLUS) creates all types of visual aids for judicial proceedings. Raj Jawahir is working with the Payments database to track and analyze the payment history of PLUS clients. He again needs your help. He would like you to enhance the Payments database by completing the following:

Define a one-to-many relationship between the primary Firm table and the related Payment table. Use the Payments table you created in supporting database. Select the referential integrity option and both cascade options for the relationship.

Use the Form Wizard to create a form containing a main form and a subform. Select the Firm# and FirmName fields from the Firm table for the main form, and select all fields except Firm# from the Payment table for the subform. Use the Datasheet layout and the Industrial style. Specify the title, 'Firm Payments', for the main form and the title, 'Payment Subform', for the subform. Resize all columns in the subform to their best fit. Take a screen shot of the first main record and its displayed subform records.

For the form you just created, change the AutoFormat to Sandstone, save the changed form, and then take a screen shot of the first main form record and its displayed subform records.

Navigate to the second record in the subform for the first main record, and then change the AmtPaid field value to 1,800.00.

Use the Find command to move to the record with the Firm# 1142 and delete the record. Answer Yes to any warning messages about deleting the record.

Use the appropriate wildcard character to find all records with the abbreviation "DA" (for District Attorney) anywhere in the firm name. (Hint: You must enter the wildcard character before and after the text you are searching for.) How many records did you find? Which firms did you find and how did you arrive at your answer?
Close the Firm Payments form.

Use the Report Wizard to create a report based on the primary Firm table and the related Payment table. Select all fields from the Firm table except Extension, and select all fields from the Payment table except Firm#. In the third Report Wizard dialog box, specify the PLUSAcctRep field as an additional grouping level. Sort the detail records by AmtPaid in descending order. Choose the Block layout, Landscape orientation, and the Bold style for the report. Specify the title, 'Payments By Firms' for the report.

Use the Office Assistant to ask the following
question: "How do I move an object behind another?" Click the topic, "Move a text box or other control in front of or behind other controls." Read the information and then close the Help window. Make sure the PLUS picture is still selected, and then move it behind the Payments By Firms title.

Use the Office Assistant to ask the following question: "How do I change the background color of an object?" Click the topic, "Change the background color of a control or section." Read the information and then close the Help window and hid the Office Assistant. Select the Payments By Firms title object, and then change its background color to Transparent.

Attachment:- Database.rar

Solution Preview :

Prepared by a verified Expert
Database Management System: Define a one-to-many relationship
Reference No:- TGS01932473

Now Priced at $25 (50% Discount)

Recommended (91%)

Rated (4.3/5)