| 
		
			| URGENT write infor from form to a file [message #86878] | Tue, 16 November 2004 21:50  |  
			| 
				
				
					| 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   |  
			| 
				
				
					| 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
 |  
	|  |  | 
	|  |