Kamis, 20 Oktober 2011

pertemuan 9

untuk membuat table pada command windows
CREATE mahasiswa2 (NPM c(10),Nama c(35),Lahir D)

rumus :
CREATE DATABASE CONTOH
CREATE PROJECT
MODIFY DATABASE

CREATE mahasiswa2 (NPM c(10),Nama c(35),Lahir D)
CREATE TABLE mahasiswa2 (NPM c(10),Nama c(35),Lahir D)
USE mahasiswa2
MODIFY structure
USE mahasiswa

LIST STRUCTURE
LIST STRUCTURE mahasiswa2
USE mahasiswa2
LIST STRUCTURE
USE mahasiswa2
APPEND
USE mahasiswa AGAIN IN 0
SELECT mahasiswa
BROWSE last
APPEND
USE mahasiswa AGAIN IN 0
SELECT mahasiswa
BROWSE last

rumus
use mahasiswa && Tabel : Mahasiswa NPM
APPEND BLANK && Menimpan Rscord Kosong
WITH thisform
REPLACE npm WITH .text1.value && Mengisi NPM
REPLACE nama WITH .text2.value &&Mengisi Nama
REPLACE lahir WITH .text3.value &&
.text1.value=""
.text2.value=""
.Text3.Value={}
ENDWITH
MESSAGEBOX("Data Telah direkam",64,"info")

Tidak ada komentar:

Posting Komentar