Kuliah Pengantar Komputer
Ms. Access
Pada minggu
pertama, kami diminta untuk membuat data base / Create Database pada Ms.
Access. Saat itu kita belajar mengenai,
·
Tables = menyimpan data
·
Queries = menampilkan data tertentu pada suatu
tablemenggunakanbahasaquery
·
Forms = tampilan inputdata pengguna aplikasi
·
Reports = tampilan outputlaporan
·
Macros = vba atau bahasa pemrograman untuk kasus
yang spesifik
·
Modules = fungsi-fungsi tertentu dalam vba
Namun pertamuan ini kita hanya membahas mengenai table,
1. Tables
Berikut merupakan tipe data table.
TypeofData
|
Description
|
Size
|
ShortText
|
Text or combinations of text and numbers, including
numbers that do not require calculating (e.g. phone numbers).
|
Upto255 characters.
|
Long Text
|
Lengthy text or combinations of text and numbers.
|
Up to 63, 999 characters.
|
Number
|
Numeric data used in mathematical calculations.
|
1, 2, 4, or 8 bytes
|
Date/Time
|
Date and time values for the years 100 through 9999.
|
8 bytes
|
Currency
|
Currency values and numeric data used in mathematical
calculations involving data with one to four decimal places.
|
8 bytes
|
AutoNumber
|
A unique sequential (incremented by 1) number or random
number assigned by Microsoft Access whenever a new record is added to a
table.
|
4 bytes (16 bytes if set to Replication ID).
|
Yes/No
|
Yes and No values and fields that contain only one of two
values (Yes/No, True/False, or On/Off).
|
1 bit.
|
TypeofData
|
Description
|
Size
|
Attachment
|
Files, such as
digital photos. Multiple files can be attached per record. (MS Access 2013,
2016, 365 only)
|
Up to about 2 GB.
|
OLE objects
|
OLE objects can store
pictures, audio, video, or other BLOBs (Binary Large Objects)
|
Up to about 2 GB.
|
Hyperlink
|
Text or combinations
of text and numbers stored as text and used as a hyperlink address.
|
Up to 8,192 (each
Hyperlink data type can contain up to 2048 chars).
|
LookupWizard
|
A simple lookup field
uses the contents of another table or a value list to validate the contents
of a single value per row. A complex lookup field allows you to store
multiple values of the same data type in each row.
|
Dependentonthedatatypeofthelookupfield.
|
Calculated
|
You can create an
expression that uses data from one or more fields. You can designate
different result data types from the expression.
|
an expression that
uses data from one or more fields. designate different result data
|
Juga dalam table kami membahas
mengenai banyak hal, berupa perintah insert, update, delete table data
a) Menyisipkan Field,
Sisipan field akan tampil di atas field yang dipilih. Untuk menyisipkan field,
Klik kanan pada salah satu field, pilih Insert Rows.
b) Menghapus Field,
Untuk menghapus field, klik kanan pada field yang akan dihapus, lalu pilih
Delete Rows.
c) Menempatkan Data,
Berjenis Lookup Wizard Tipe data Lookup Wizard adalah tipe data yang membuat
sebuah lookup column di mana datanya dapat diambil dari tabel, query, atau kita
masukkan sendiri sesuai keinginan.
·
Dalam hal lain kita juga belajar untuk
menglakukan input data, berikut langkah-langkahnya :
1. Unduhfile pegawai.xls
2.Import from excel
3.Lalupilihfile pegawai.xls, klikOK, laluNext
4.Check padaFirst Row Contain ColoumnHeading, next
5.Cektype data setiapfield, next
6.PilihChoose my Own Primary Key
·
Kita juga belajar mengenai jenis-jenis Relationship
1. One to One,
yaitu satu recorddata pada suatu tabledihubungkan hanya dengan satu recorddata
pada tablelainnya.
2.One to Many,
yaitu satu recorddata pada suatu tabledihubungkan dengan lebih dari satu
recorddata pada tablelainnya.
3.Many to Many,
yaitu lebih dari satu recorddata pada suatu tabledihubungkan dengan lebih dari
satu recorddata pada tablelainnya.
Komentar
Posting Komentar