Custom Function returns REP-1401: 'cf_1' : Fatal PL/SQL error occurred [message #268785] |
Wed, 19 September 2007 12:53 |
ronin10
Messages: 17 Registered: July 2007
|
Junior Member |
|
|
Hi
Oracle Reports
Oracle 10g
I am in the process of returning/reading data from a text file. I am able to return the correct data to display in my report using
function CF_1Formula return char is
begin
return (:ProductID); --product id is my field
end;
However, I am having an issue returning anything using my custom function. For example:
function CF_1Formula return char is
begin
return CUSTOM_FUNCTION.Custom(:ProductID,4); --4 is a parameter
end;
This gives me the numeric error.
function CF_1Formula return char is
begin
return CUSTOM_FUNCTION.Custom(':ProductID',4); --4 is a parameter
end;
This seems to work. so i know it can return static data. I am just having trouble reading data from an external source using my function.
Has anyone had a similar problem?
the :ProductID parameter is taking in a VARCHAR2.
Thanks in advance.
|
|
|
|
|
|