RELATIONAL TABLE Novita Kurnia Ningrum
Background *terdapat tabel yang redundance/ rangkap **buat dekomposisi tabel ***split SewaMobil into Sewa (NoSewa,Tglsewa,NoKTP) and DetailSewa (NoSewa,NoPlat,Tarif,JmlHari)
Siapkan Tabel Sewa JadikanNoSewa sebagai Primary Key
DetailSewa No Primary Key in any field
Setting Relationship It’s necessary for step afterward
Just drag n drop fields with the same name Finish it with close button
Create Form with SubForm
Choose Table Sewa and select all its fields DO NOT CLICK NEXT YET
Select table DetailSewa Select all its fields EXCEPT NoSewa (we already have it from table Sewa) You may click NEXT now
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
Tugas Gunakan tehnik 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)