Posts

Showing posts from May, 2017

ORACLE FORM IMPORTANT NOTES

How to make the 3 text field and one push button ? You can just follow my steps to make beautiful custom form  oracle form like a application which developed the form first we can open the form builder and go to canvas . a canvas is basically a field area where items are situated on there such items like push button radio button,checks box,picture elements and so on.lets do the form where 3 text field and one push button to get result of two text field .when we put the value into two text field e.g like 10 or 30 then result pass to 3rd text field while button pressed result is gone to the 40.i hope you understanding properly. lets we do it. notes:-the items are situated physically on canvas but logically into the block. click canvas→go to plus sign to add new canvas 2 changed the name adding after double click on adding we get a frame (area) ⇓ yo see left side there is so many components ⇓ just go and drag and drop the 3 text fields ⇒same task for push button.now
WHAT IS RECORD ? Record is a composite data structure which hold data items of different kinds.Record consist of different fields similar to a row of data base table. 1)table base 2)cursor base record 3)user defined record To create table base or cursor base record we prefer % row type attribute which provide record type to represent a rows in data base table.record can stored rows from data base table or fetch from  cursor variable and cursor. e.g of table base declare v_rc employees.%rowtype; begin select * into v_rc from emolyees where employee_id=100; dbms_output.put_line('employees details:'||'v_rc.last_name||v_rc.first_name||v_rc.salary); end; 2)cursor base record declare cursor c_rec_emp is select last_name,employee_id,salary from employees v_c_r c_rec_emp.%rowtype; begin open c_rec_emp; loop fetch c_rec_emp into v_c_r; exit when c_rec_emp %notfound; dbms_output.put_line('employee datails:'||v_c_r.last_name||v_c_r.employee_id||v_c_r