Home » Developer & Programmer » Forms » Manipulating Files in Oracle Forms
icon4.gif  Manipulating Files in Oracle Forms [message #279852] Sun, 11 November 2007 02:01 Go to next message
Hany Freedom
Messages: 256
Registered: May 2007
Location: Egypt
Senior Member

Can we make a form that gives the user the ability to choose a specific directory--FILE or the root (DRIVE C: FOR EXAMPLE) and then list all the files under that directory and give the user the ability to manipulate the file (copy, rename, delete ?.etc) and manipulate directories laying under that directory
At the end we get a simulation of FILE EXPLORE in oracle forms either using tree or tabular records.
Re: Manipulating Files in Oracle Forms [message #279865 is a reply to message #279852] Sun, 11 November 2007 03:21 Go to previous messageGo to next message
alijeyan
Messages: 184
Registered: January 2007
Location: IRAN
Senior Member
I used this :


declare
   v_filename  varchar2(255);
begin
   v_filename := get_file_name(NULL,NULL,
   'Text Files (*.txt)|*.txt|'          ||
   'All Files (*.*)|*.*|', NULL, SAVE_FILE );

   :text_control.text_output_file := v_filename;
end;



above trigger is WHEN_BUTTON_PRESSED
and button is "brows Button"

ALI
Re: Manipulating Files in Oracle Forms [message #279866 is a reply to message #279852] Sun, 11 November 2007 03:30 Go to previous messageGo to next message
kenjio
Messages: 7
Registered: November 2007
Junior Member
the answer is... run the WU_TEST_106.fmb
it will help.

Kenjio
Re: Manipulating Files in Oracle Forms [message #279867 is a reply to message #279866] Sun, 11 November 2007 03:38 Go to previous messageGo to next message
alijeyan
Messages: 184
Registered: January 2007
Location: IRAN
Senior Member
Hi Kenjio


please send your : WU_TEST_106.fmb

ALI
Re: Manipulating Files in Oracle Forms [message #279875 is a reply to message #279866] Sun, 11 November 2007 06:07 Go to previous messageGo to next message
Hany Freedom
Messages: 256
Registered: May 2007
Location: Egypt
Senior Member

kenjio wrote on Sun, 11 November 2007 11:30

the answer is... run the WU_TEST_106.fmb
it will help.

Kenjio


thank you for all answers ......... but
where this file that you wrote ( WU_TEST_106.fmb ) mr.kenjio ....... and thanks in advance Smile
Re: Manipulating Files in Oracle Forms [message #279881 is a reply to message #279875] Sun, 11 November 2007 07:19 Go to previous messageGo to next message
kenjio
Messages: 7
Registered: November 2007
Junior Member
this is provided by the oracle documentation, attached is the file...

best regards,
Kenjio
Re: Manipulating Files in Oracle Forms [message #280083 is a reply to message #279881] Mon, 12 November 2007 07:40 Go to previous message
alijeyan
Messages: 184
Registered: January 2007
Location: IRAN
Senior Member
ThanQ For Reply .
your Form very good. and helped me .

ALI
Previous Topic: HTTP Listener In Form 10g
Next Topic: On query_execute which triggers will file
Goto Forum:
  


Current Time: Sun Feb 09 20:16:35 CST 2025