Home » Developer & Programmer » Forms » call package
call package [message #119333] Wed, 11 May 2005 19:11 Go to next message
RAY_HT
Messages: 155
Registered: May 2005
Location: Giza
Senior Member
drear all
i've create a package with procedure and function
i want to know how to call it from forms
i traied with "packagenamee.procedure but it didn't work
Re: call package [message #119336 is a reply to message #119333] Wed, 11 May 2005 21:12 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Okay. Under which user did you store the package? Under which user are you running your form? Please include the package script (brief, I hope) in your reply and the code including your call.

David

[Updated on: Wed, 11 May 2005 21:17]

Report message to a moderator

Re: call package [message #119391 is a reply to message #119333] Thu, 12 May 2005 06:27 Go to previous messageGo to next message
RAY_HT
Messages: 155
Registered: May 2005
Location: Giza
Senior Member
okay it's package contain 1procedure to create directory in path passed by parameter

and 1 function to export data using utl

procedure nameed cre_dir ,function named extract_data

package named export

at when button pressed triger :
declare
v_count number;
begin
export.CRE_DIR(:GLOBAL.V_DIR);
V_COUNT :=export.extract_data('select * from bl_d_section',',','EXT_DIR','AA.TXT');

end ;

but it return error code ora-01780

the package stored in the same user where it executed from the form
Re: call package [message #119437 is a reply to message #119333] Thu, 12 May 2005 09:47 Go to previous message
RAY_HT
Messages: 155
Registered: May 2005
Location: Giza
Senior Member
NOW THE PROBLEM is how to write procedure to create directory
Previous Topic: connect form 9i and device client
Next Topic: writing output of report to microsoft word
Goto Forum:
  


Current Time: Thu Sep 19 18:03:50 CDT 2024