Hello everyone,
In my report (Report 6i), it has a Number field, referring to the sum of a column. (SUM)
I would like this field to be negative (-).
What should I do?
Thanks.
Negative
-
- Rank: DBA Júnior
- Posts: 229
- Joined: Fri, 05 Sep 2008 2:59 pm
- Location: Igrejinha - RS
Multiplies by -1.
This is the function of the field:
Where should I insert the -1?
Thanks.
function "nome_procedure" return boolean is
begin
return (TRUE);
end;
Thanks.
-
- Rank: DBA Júnior
- Posts: 229
- Joined: Fri, 05 Sep 2008 2:59 pm
- Location: Igrejinha - RS
So ..
if you can, multiplication on your query.
Since, it creates a formula that does.
if you can, multiplication on your query.
Since, it creates a formula that does.
Good afternoon. 99]]
Abrçs
if :campo_soma >= 0 then
return false;
else
return true;
end if;
-
- Rank: DBA Júnior
- Posts: 229
- Joined: Fri, 05 Sep 2008 2:59 pm
- Location: Igrejinha - RS
SELECT sua_soma * -1
FROM tabela;
-
- Rank: DBA Júnior
- Posts: 229
- Joined: Fri, 05 Sep 2008 2:59 pm
- Location: Igrejinha - RS
Beauty ..
Then creates a column formula that will return it multiplied by -1.
Then creates a column formula that will return it multiplied by -1.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 25 guests