i have 9 values in a table i.e
-99
-56
-32
41
-2
33
95
-88
55
my question is that i wanna elimenate all -ve values and
wann sum of + values in report
i m using devsuite 10g
its urgent
kindly if anyone knows that answer message me the following
yahoo id
thanx
ALI
smalipaki@yahoo.com
Answer Posted / ajaz ahmad
TRIGGER:- when button_pressed
declare
cursor c1 is select colum-name from table-name;
sum table-name%rowtype;
begin
sum := 0;
for z in c1 loop
if z.column-name < 0 then
null;
else
sum := NVL( sum + nvl(z.column-name),0);
end if;
end loop;
message('Sum of +ve Values is ='|| sum);
end;
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain the different levels at which oracle form services interact.
how do u compile a form i.e .fmb file in Unix or in dos
in user parameter property we have list of values.can we write select query for binding? for example:: select empno from emp where deptno=:deptnum :deptnum is first parameter it displays distinct dept nos. if i do like this it is giving error:: bind variables are not allowed in the select statement
What are the various configuration files that are used by oracle forms?
List the different types of columns in oracle reports.
a text item is there what r the different types of triggers associated with it
Is it possible to have multiple layouts in a report?
Name the different triggers supported by oracle reports and their firing order.
In what sequence do triggers get fired by oracle forms?
how do u place it in required folder
what exactly u write in when_new_form_instance
if u want to delete all these detail block etc what will happen in form
What is an oracle report?
What is an oracle report? List its various types.
can you convert or reverse engineer a fmx back to a fmb file?