Membuat Database PERPUSTAKAAN
Langkah :
Aktifkan Microsoft
Access, sbb :
- Klik Start – Program
– Microsoft Access 2007
1. Klik “Blank Database” pada “Create
a New Database Using”, Klik OK
2. Tempatkan pada
folder anda. Kemudian buat data base dengan nama Database Perpustakaan.
3. Buat Tabel seperti
dibawah ini : (Klik New – Klik Design
View – Klik OK)
Nama
Tabel : Tabel Anggota
Struktur Data
sbb :
Field Name
|
Date Type
|
Field Size
|
Format
|
Kode_Anggota
|
Text
|
2
|
|
Nama
|
Text
|
10
|
|
No_Tlepon
|
Text
|
12
|
|
Alamat
|
Text
|
20
|
|
Tanggal_Bergabung
|
Number
|
Medium Date
|
|
Aktif
|
Yes/No
|
On/OF
|
Nama
Tabel : Tabel Peminjaman
Struktur
Data sbb :
Field Name
|
Date Type
|
Field Size
|
Format
|
Id_Pinjam
|
Text
|
3
|
|
Kode_Anggota
|
Text
|
2
|
|
Tanggal_Pinjam
|
Date/Time
|
Medium Date
|
|
Tanggal_HarusKembali
|
Date/Time
|
Medium Date
|
Nama
Tabel : Tabel Pengembalian
Struktur
Data sbb :
Field Name
|
Date Type
|
Field Size
|
Format
|
Id_Kembali
|
Text
|
4
|
|
Id_Pinjam
|
Text
|
2
|
|
Tanggal_Kembali
|
Date/Time
|
Medium Date
|
|
Terlambat
|
Yes/No
|
Yes/No
|
|
Denda
|
Number
|
Single
|
Currency
|
Nama
Tabel : Tabel Detil Pinjam
Struktur
Data sbb :
Field Name
|
Date Type
|
Field Size
|
Format
|
Id_Pinjam
|
Text
|
3
|
|
Kode_CopyBuku
|
Text
|
5
|
|
Status
|
Text
|
20
|
|
Keterangan
|
Yes/No
|
Yes/No
|
Nama
Tabel : Tabel Copy Buku
Struktur
Data sbb :
Field Name
|
Date Type
|
Field Size
|
Format
|
Kode_CopyBuku
|
Text
|
6
|
|
Kode_Buku
|
Text
|
6
|
|
Status
|
Text
|
5
|
Nama
Tabel : Tabel Buku
Struktur
Data sbb :
Field
Name
|
Date
Type
|
Field
Size
|
Format
|
Kode_Buku
|
Text
|
6
|
|
Denda
|
Text
|
30
|
|
Pengarang
|
Text
|
30
|
|
Penerbit
|
Text
|
30
|
|
Jumlah
|
Text
|
2
|
0 komentar:
Posting Komentar