Skip to main content

Membuat Tabel Kehadiran Untuk Memonitor Presensi/Absensi Pegawai

Tabel kehadiran berisi rincian waktu di saat karyawan mulai masuk dan keluar kantor setiap harinya. Tabel ini digunakan untuk memonitor kedisiplinan karyawan dalam bekerja saat jam kantor. Selain itu, bagian penggajian juga bisa menghitung, berapa jumlah rupiah lembur yang akan dimasukkan sebagai bagian dari gaji/upah karyawan.


Ada dua tabel yang terlibat di sini, yaitu tabel tblKehadiranMaster yang berfungsi sebagai master/induk dan tabel tblKehadiranSlave yang berfungsi sebagai slave/anak. Adapun nama field dan properti yang dibutuhkan untuk tabel kehadiran adalah sebagai berikut:

Nama tabel: tblKehadiranMaster

  1. Field Name = no
    1. Data Type = Numeric
    2. Description = Nomor urut
    3. Field Properties - General Tab:
      1. Field Size = 4
      2. Caption = Nomor Urut
  2. Field Name = tglPresensi
    1. Data Type = Date
    2. Description = Tanggal presensi
    3. Field Properties - General Tab:
      1. Field Size = 8
      2. Format = Short Date
      3. Caption = Tanggal Presensi
      4. Required = Yes
      5. Indexed = Yes (No Duplicates)
  3. Field Name = proses
    1. Data Type = Numeric
    2. Description = Proses data presensi
    3. Field Properties - General Tab:
      1. Field Size = 4
      2. Caption = Proses
  4. Primary Key = no
Nama tabel: tblKehadiranSlave
  1. Field Name = no
    1. Data Type = Numeric
    2. Description = Nomor urut
    3. Field Properties - General Tab:
      1. Field Size = 4
      2. Caption = Nomor Urut
  2. Field Name = tglPresensi
    1. Data Type = Date
    2. Description = Tanggal presensi
    3. Field Properties - General Tab:
      1. Field Size = 8
      2. Format = Short Date
      3. Caption = Tanggal presensi
  3. Field Name = NIP
    1. Data Type = Short Text
    2. Description = Nomor identitas pegawai
    3. Field Properties - General Tab:
      1. Field Size = 10
      2. Caption = N I P
  4. Field Name = jamMasuk
    1. Data Type = Date
    2. Description = Jam masuk aktual
    3. Field Properties - General Tab:
      1. Field Size = 8
      2. Caption = Jam masuk aktual
  5. Field Name = jamKeluar
    1. Data Type = Date
    2. Description = Jam keluar aktual
    3. Field Properties - General Tab:
      1. Field Size = 8
      2. Caption = Jam keluar aktual
  6. Field Name = keterangan
    1. Data Type = Short Text
    2. Description = Penjelasan seperlunya
    3. Field Properties - General Tab:
      1. Field Size = 255
      2. Caption = Keterangan
  7. Primary Key = no
  8. Foreign Key = tglPresensi

Comments

Posting Terpopuler

Normalisasi, Denormalisasi, dan Anomali Database

Membuat Fungsi Untuk Menghitung Pajak Penghasilan PPh 21 di MS Access

Format Untuk Field Dengan Tipe Data Number dan Currency di MS Access