Presentation is loading. Please wait.

Presentation is loading. Please wait.

Sub Form to Have Detail Transaction

Similar presentations


Presentation on theme: "Sub Form to Have Detail Transaction"— Presentation transcript:

1 Sub Form to Have Detail Transaction
Danang Wahyu Utomo, M.Kom

2 Background We will split SewaMobil into :
Redundancy on some field Solution is to have table decomposition We will split SewaMobil into Sewa (NoSewa,Tglsewa,NoKTP) and DetailSewa (NoSewa,NoPlat,Tarif,JmlHari) We will split SewaMobil into : Sewa (NoSewa, Tglsewa, NoKTP) and DetailSewa (NoSewa, NoPlat, Tarif, JmlHari)

3 Siapkan Tabel Sewa (PK)
Set NoSewa as Primary Key

4 DetailSewa (No PK) No Primary Key in any field

5 Setting Relationship It’s necessary for step afterward

6 Just drag n drop fields with the same name
Finish it with close button

7 Create Form with SubForm

8 Choose Table Sewa and select all its fields
DO NOT CLICK NEXT YET

9 Select table DetailSewa
Select all its fields EXCEPT NoSewa (we already have it from table Sewa) You may click NEXT now

10

11

12

13

14 Form Sewa now has a SubForm
Next : Modify NoKTP and NoPlat as ComboBox Create Query that involving all tables (Sewa,DetailSewa,Pelanggan,Mobil) Create Report

15 Tugas Gunakan teknik yang sama untuk : Sistem Perpustakaan Sistem KRS
Peminjaman (NoPinjam,TglPinjam,NoAnggota) DetailPeminjaman (NoPinjam,KdBuku,LamaPinjam,TglKembali) Sistem KRS KRS (NoTransaksi,Tanggal,NIM) DetailKRS (NoTransaksi,KdMatkul) Puskesmas Periksa (NoPeriksa,Tanggal,NoCM) DetailPeriksa (NoPeriksa,KdObat,Dosis)


Download ppt "Sub Form to Have Detail Transaction"

Similar presentations


Ads by Google