Archive for the 'oracle form' Category

Using Global Mode in Oracle Form to Create Button Insert, and Update

CREATE BUTTON INSERT AND UPDATE

1. Data Blocks -> Items, klick icon create

2. Press F4 to open window propterty pallete, change the name ITEMxx and give name as INSERT, change its item type to (‘Push Button’) and close the window.

3. To create Triggres, klick symbol + beside item INSERT -> , then klick Triggres ->and klick icon create, select ‘WHEN BUTTON PRESSED’. and write PL/SQL

BEGIN

:GOBAL.MODE :=’INSERT’;

CLEAR_FORM;

END;

compile it and close the window.

4. To create button UPDATE, do the same as create button INSERT, just change the name insert become update, and in PL/SQL write ‘UPDATE’. Compile it and close the window.

You can use GLOBAL.MODE := ‘SAVE’; in PL/SQL to create button insert and update.

lagi belajar bahasa Inggris lagi neh, aku mah orang indo yang masih belajar bahasa Inggris bukan orang indo yg dah lancar, jadi klo banyak salah, maklum aja ya.^-^

Tutorial Oracle Form 6i for Beginners

Iseng-iseng sambil review hasil belajar oracle form, sekalian  mo ngasih info buat temen-temen yang kebingungan cari tutorial oracle form, aku ada link buat download tutorial oracle form. Tutor ini di buat oleh seorang Ibu yang namanya sama dengan namaku, cuma beda penulisannya aja (maksudnya apa neh ^-^), buat konfirmasi aja ntar tanya2 lagi kan aku juga masih balajar (masih awam). 

Selain itu aku juga ada link tutor lain  yang lumayan lengkap plus ada video, jadi bener-bener diperlihatkan step-stepnya secara terperinci.

Oh iya, sekalian mo ngasih koreksian tutor yang dibuat oleh sang Ibu.(ada 6 file). Pada file oraform4.pdf  halaman terakhir (15), ada latihan soal, pada tahap pembuatan trigger POST_CHANGE pada item MGRSSN dengan PL/SQL 

SELECT lname

INTO :D EPARTMENT.MGR_LASTNAME

FROM EMPLOYEE

WHERE EMPLOYEE.SSN=DEPARTMENT.MGRSSN;

ada yang tertinggal, harusnya sesudah = ada :, seharusnya =:DEPARTMENT.MGRSSN;

Cuma itu aja sih, tapi cukup menggangu ^-^. sebetulnya ada lagi tapi temen-temen pasti bisa handle!

LINK TUTORIAL ORACLE FORM
FILE PDF
ISelfschooling