Forms And Subforms
-
Upload
wmassie -
Category
Technology
-
view
539 -
download
0
Transcript of Forms And Subforms
![Page 1: Forms And Subforms](https://reader036.fdocuments.in/reader036/viewer/2022062405/5580baecd8b42ac6088b4f9b/html5/thumbnails/1.jpg)
Forms and Subforms
5.02 Understand database queries, forms, and reports used in business.
![Page 2: Forms And Subforms](https://reader036.fdocuments.in/reader036/viewer/2022062405/5580baecd8b42ac6088b4f9b/html5/thumbnails/2.jpg)
United Grocers Database
Four Tables
25.02 Understand database queries, forms, and reports used in business.
![Page 3: Forms And Subforms](https://reader036.fdocuments.in/reader036/viewer/2022062405/5580baecd8b42ac6088b4f9b/html5/thumbnails/3.jpg)
Diagram of Query Relationships
35.02 Understand queries, forms, and reports.
![Page 4: Forms And Subforms](https://reader036.fdocuments.in/reader036/viewer/2022062405/5580baecd8b42ac6088b4f9b/html5/thumbnails/4.jpg)
Query Logic
5.02 Understand queries, forms, and reports. 4
The mission of the query is to find out what products were ordered by each customer.
View the chart to follow the process used by the query to accomplish its mission.
![Page 5: Forms And Subforms](https://reader036.fdocuments.in/reader036/viewer/2022062405/5580baecd8b42ac6088b4f9b/html5/thumbnails/5.jpg)
Required Information
• Orders Table– Store ID– Order No.
• Purchase Orders Table– Order No.– Product ID.– Quantity
• Grocery Products Table– Product ID– Product name– Unit Price
5.02 Understand queries, forms, and reports. 5
![Page 6: Forms And Subforms](https://reader036.fdocuments.in/reader036/viewer/2022062405/5580baecd8b42ac6088b4f9b/html5/thumbnails/6.jpg)
Connection to Main Form
• In order for the subform to communicate with the main form, a relationship between common fields must be established.
• Include the Store ID field from the Customers Table in the query
5.02 Understand queries, forms, and reports. 6
![Page 7: Forms And Subforms](https://reader036.fdocuments.in/reader036/viewer/2022062405/5580baecd8b42ac6088b4f9b/html5/thumbnails/7.jpg)
Query Results
75.02 Understand queries, forms, and reports.
![Page 8: Forms And Subforms](https://reader036.fdocuments.in/reader036/viewer/2022062405/5580baecd8b42ac6088b4f9b/html5/thumbnails/8.jpg)
Customers Form
5.02 Understand queries, forms, and reports. 8
![Page 9: Forms And Subforms](https://reader036.fdocuments.in/reader036/viewer/2022062405/5580baecd8b42ac6088b4f9b/html5/thumbnails/9.jpg)
Subform in Design View
5.02 Understand queries, forms, and reports. 9
![Page 10: Forms And Subforms](https://reader036.fdocuments.in/reader036/viewer/2022062405/5580baecd8b42ac6088b4f9b/html5/thumbnails/10.jpg)
Property Sheet
5.02 Understand queries, forms, and reports. 10
![Page 11: Forms And Subforms](https://reader036.fdocuments.in/reader036/viewer/2022062405/5580baecd8b42ac6088b4f9b/html5/thumbnails/11.jpg)
Form View of Orders for Store #410432
115.02 Understand queries, forms, and reports.
![Page 12: Forms And Subforms](https://reader036.fdocuments.in/reader036/viewer/2022062405/5580baecd8b42ac6088b4f9b/html5/thumbnails/12.jpg)
Form View of Order for Store #410474
125.02 Understand queries, forms, and reports.