Download presentation
Presentation is loading. Please wait.
1
FIS 318/618: Financial Systems & Databases Queries Oakland University School of Business Administration Accounting and Finance Joe Callaghan
2
Query Types Select Crosstab Make-Table Update Append Delete –Parameter-driven
3
Figure 4.1 Access data types.
4
Figure 4.2 Example form.
5
Figure 4.3 Example report.
6
Figure 4.4 Viewing a database record with Internet Explorer. record from the database Pages collection is open record navigation toolbar shortcut to data access page
7
Figure 4.5 Separating tables from other database objects. Table.mdb one database contains only tables Accounting.mdb a separate database contains queries, forms, and other objects these are links to tables in Table.mdb
8
Figure 4.6 Defining a table's structure and saving it. indicates the field is the table's primary key enter table's new name here field descriptions Field Properties panel data types
9
Figure 4.7 Contents of the example customer table, tblMyCustomer.
10
Figure 4.8 Show Table dialog box. Tables tab tables in the database Relationships window
11
Figure 4.9 Establishing a link between related tables. the mouse pointer changes shape when you drag a field from one table field list to another click and drag the DivisionID field to the foreign key in tblEmployee
12
Figure 4.10 Enforcing Referential Integrity. primary key field name from tblDivisionLocation foreign key field name from tblEmployee Enforce Referential Integrity check box
13
Figure 4.11 A join line connects two tables. primary key field foreign key field join line
14
Figure 4.12 Clicking the expand indicator reveals related records. expand indicators subdatasheet
15
Figure 4.13 Setting tblEmployee field properties. Validation Text property Caption property Default Value property Format property Decimal Places property Validation Rule property
16
Figure 4.14 Relationships among tables.
17
Figure 4.15 Some rows of the tblInventoryDescription table. the table's primary key a foreign key
18
Figure 4.16 One-table query definition and dynaset. dynaset query definition
19
Figure 4.17 Query with multiple, independent criteria. dynaset independent criteria are on separate rows query definition (Design view)
20
Figure 4.18 Column Width dialog box. click to set column(s) to a standard width manually set column width click to select optimal fit
21
Figure 4.19 Comparison operators.
22
Figure 4.20 Two-table query using a comparison operator. query design dynaset
23
Figure 4.21 LIKE wildcard characters.
24
Figure 4.22 Query using a wildcard in its criteria. query design Wildcard criterion: Like "*choc*" dynaset
25
Figure 4.23 Formatting a query's calculated column.
26
Figure 4.24 Query design and dynaset with calculated column. expression query design dynaset
27
Figure 4.25 Access aggregate functions.
28
Figure 4.26 Sorted sales totals for each employee created with the Sum aggregate function. expressions Total row total sales concatenated fields form a single name
29
Figure 4.27 Creating an outer join. click for outer join
30
Figure 4.28 Using “Is Null” to display rows with empty fields. outer join lines are arrows empty cells indicate no sales
31
Figure 4.29 A parameter query design and run-time prompt. enter criteria parameter in criteria row of QBE grid
32
Figure 4.30 A parameter query dynaset.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.