• Tidak ada hasil yang ditemukan

Access-6.ppt 558KB Mar 29 2010 04:55:15 AM

N/A
N/A
Protected

Academic year: 2017

Membagikan "Access-6.ppt 558KB Mar 29 2010 04:55:15 AM"

Copied!
19
0
0

Teks penuh

(1)

Exploring Microsoft Access

Chapter 6

(2)

Objectives

(1 of 2)

• Define and explain a many-to-many relationship

• Use Cascade Update and Cascade Delete

(3)

Objectives

(2 of 2)

• Create a main farm and subform based on a query

• Create a parameter query • Use aggregate functions

(4)

Overview

(1 of 2)

• More database design practice

• Extends relational database concepts

including one-to-many and many-to-many relationships

(5)

Overview

(2 of 2)

• Extends subform and query information from related tables

• Create forms based on multiple-table queries

• Create a parameter query

(6)

Many-to-Many Relationships

• A many-to-many relationship requires an additional table that has a one-to-many relationship to each of the related tables

(7)

Implementing Many-To-Many

Relationships

Many-to-many relationship is implemented by a pair of one-to-many

relationships

Enforce Referential Integrity is selected

(8)

Referential Integrity

• Ensures records in related tables are consistent with one another

• Prevents adding a record to a related table with an invalid foreign key

(9)

Cascaded Deletion

• When a record in the primary table is

(10)

Cascaded Updating

(11)

Subforms, Queries, and

AutoLookup

• Main and subforms based on queries: - display of information from multiple tables

- display records other than by primary key

(12)

Main Form and Subform

Main form has fields

from Orders and Customers

tables

(13)

Designing a main and subform

Main form Detail

(14)

Parameter Queries

• Prompts the user for criteria when executed

• The prompt is enclosed in square brackets in the query design grid

(15)

Parameter Query

Enter the prompt in square brackets in the Criteria field

Users are prompted

(16)

Total Queries

• Total Queries perform calculations on a group of records

Total row – Contains either Group by or aggregate

entry

Group By – Records in the dynaset are to be

grouped according to the like values

Sum Function – Specifies math to be performed on

(17)

Adding Tables

Existing tables and

(18)

Chapter 6 Summary

(1 of 2)

• A many-to-many relationship requires an additional table

• Many-to-many is implemented with a pair of one-to-many relationships

• Enforce referential integrity to prevent errors

(19)

Chapter 6 Summary

(2 of 2)

• Parameter query uses prompts

• Aggregate functions perform calculations on groups of records

• New tables may be added at any time

Referensi

Dokumen terkait

Salah satu penyebab gagal ginjal kronis adalah gaya hidup yang tidak baik seperti konsumsi alkohol/tuak sebagaimana kebiasaan sebagian masyarakat Nias.Penelitian ini bertujuan

Suhu pengeringan memberikan pengaruh berbeda sangat nyata terhadap kadar air, kadar abu, total asam, daya larut, kecepatan larut, indeks warna, skor warna, skor rasa, hedonik

Pada saat nilai marjinal suatu fungsi sama dengan nol baik untuk nilai maksimum atau minimum, maka selanjutnya adalah menentukan titik maksimum atau minimum.

Break Even point atau BEP dapat diartikan suatu analisis untuk menentukan dan mencari jumlah barang atau jasa yang harus dijual kepada konsumen pada harga tertentu untuk

Guna melakukan Pembuktian Dokumen Kualifikasi atas Penawaran yang disampaikan oleh Perusahaan Saudara dan diharapkan perusahaan membawa kelengkapan Administrasi sebagai

Dari hasil pengolahan data dengan metode analisis diskriptif pada penskalaan 1-3-5 di atas, maka dapat diperoleh suatu kesimpulan akhir mengenai tingkat

Terbentuknya lembaga BPSK, maka penyelesaian sengketa konsumen dapat dilakukan secara cepat, mudah dan murah. Cepat karena penyelesaian sengketa melalui BPSK harus

[r]