forms and subforms 5.02 understand database queries, forms, and reports used in business

Post on 04-Jan-2016

217 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Forms and Subforms

5.02 Understand database queries, forms, and reports used in business.

United Grocers Database

Four Tables

25.02 Understand database queries, forms, and reports used in business.

Diagram of Query Relationships

35.02 Understand queries, forms, and reports.

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.

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

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

Query Results

75.02 Understand queries, forms, and reports.

Customers Form

5.02 Understand queries, forms, and reports. 8

Subform in Design View

5.02 Understand queries, forms, and reports. 9

Property Sheet

5.02 Understand queries, forms, and reports. 10

Form View of Orders for Store #410432

115.02 Understand queries, forms, and reports.

Form View of Order for Store #410474

125.02 Understand queries, forms, and reports.

top related