Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

sum of sal and comm in emp table

makdutakduApr 28 2013 — edited Apr 28 2013
hi all

for the table emp with fields enam,eno,dept,sal,comm

i want to display a field in oracle forms 6i that will show me sum of sal and comm

i created a non database field
and wrote this code in the formula
declare
summ number(10);
begin

summ=:sal + :comm
end;
but i get failed compilation

kindly guide

thanking in advance
This post has been answered by G.Y on Apr 28 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 26 2013
Added on Apr 28 2013
8 comments
710 views