getting parameters from formula [message #547926] |
Mon, 19 March 2012 01:14 |
|
7anona
Messages: 72 Registered: February 2012
|
Member |
|
|
Hello every one,
I'm a beginner in building report. I'm using a tabular kind of report. I've made about 4 formula (function)columns in mey report. I want to make a calculation columns which will get parameters from values returned by these functions
please respond as soon as possible
thanks
|
|
|
|
Re: getting parameters from formula [message #547950 is a reply to message #547930] |
Mon, 19 March 2012 03:18 |
|
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
Formula columns (as any other columns) can be referenced by their name, preceded with a colon (:) sign.
For example, if there are CF_1 and CF_2 formula columns, and you want to sum them in CF_3, you'd do that by
function cf_3 return number
is
retval number;
begin
retval := :CF_1 + :CF_2;
return (retval);
end;
If that's not what you are asking, I guess you'll say so.
[Updated on: Mon, 19 March 2012 03:18] Report message to a moderator
|
|
|
|
|
|