Home » Developer & Programmer » Forms » URGENT write infor from form to a file
URGENT write infor from form to a file [message #86878] Tue, 16 November 2004 21:50 Go to next message
gdima
Messages: 2
Registered: November 2004
Junior Member
I have a form. User input in textitems the information needed. I have a button on the form. When user press the button the information which was entered in the textitems need be writed to the file on the user mashine in c:temp directory. How can I do it. Help
Re: URGENT write infor from form to a file [message #86880 is a reply to message #86878] Tue, 16 November 2004 22:40 Go to previous messageGo to next message
Himanshu
Messages: 457
Registered: December 2001
Senior Member
Hi,
Make use of TEXT_IO package to write the contenets from Form to a file.

E.g.

On when-button-pressed trigger write following code:

Declare
IN_FILE TEXT_IO.FILE_TYPE;
Begin
IN_FILE := TEXT_IO.FOPEN('C:TempU0210.txt','W');
TEXT_IO.PUT_LINE(IN_FILE,:blk_name.item_name);
TEXT_IO.FCLOSE(IN_FILE);
end;

HTH
Regards
Himanshu
Re: URGENT write infor from form to a file [message #86885 is a reply to message #86878] Wed, 17 November 2004 01:24 Go to previous message
Varun Tiwari
Messages: 11
Registered: October 2004
Junior Member
Hi,
You may make use of WEBUTIL.pll to achieve this.

Please refer to URL:
http://www.oracle.com/technology//products/forms/htdocs/webutil/webutil.htm

Regards
Varun Tiwari
Previous Topic: URGENT :- How to Read value from URL in Application Server 9i
Next Topic: Text_Item caracteristic
Goto Forum:
  


Current Time: Sat Sep 07 15:28:23 CDT 2024