您的位置:首页 > 数据库 > Oracle

Writing Text Files On The Client in Oracle Forms 10g

2016-12-25 21:36 573 查看
Below is the example to write file on client in Oracle Forms 10g with webutil library package.

Note: Webutil library must be attached to the form.

DECLARE
v_dir VARCHAR2(250) := 'c:\temp';
ft_tempfile CLIENT_TEXT_IO.FILE_TYPE;
begin
ft_tempfile := CLIENT_TEXT_IO.FOPEN(v_dir ||'\tempfile.txt','w');
CLIENT_TEXT_IO.PUT_LINE(ft_tempfile,'First line....');
CLIENT_TEXT_IO.PUT_LINE(ft_tempfile,'Second line....');
CLIENT_TEXT_IO.PUT_LINE(ft_tempfile,'Third line....');
CLIENT_TEXT_IO.FCLOSE(ft_tempfile);
END;




[align=left]
Writing Text Files in Oracle Forms 10g

Reviewed by Nisha Vats on

Mar 01

Rating:
4.5[/align]
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐