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;
![](http://4.bp.blogspot.com/-7SPO6LniFBc/URyTA4-RKfI/AAAAAAAAAkM/ttgJGBnnOpQ/s1600/text.JPG)
[align=left]
Writing Text Files in Oracle Forms 10g
Reviewed by Nisha Vats on
Mar 01
Rating:
4.5[/align]
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]
相关文章推荐
- MS bug "The connection pool" in Oracle 10g and the data sort according to specified filed on DataGrid control.
- Set Font Properties On Mouse Hover Of Push Button And Text Items At Run time In Oracle Forms
- Writing Text File From A Tabular Block In Oracle Forms
- Highlighting Text Item On Entry In Oracle Forms
- Can you refresh a document in the Notes client after changing a rich text field?
- Placement of Voting disk and OCR Files in Oracle RAC 10g and 11gR1 [ID 293819.1]
- How To Query And Change The Oracle Hidden Parameters In Oracle 10g and 11g (文档 ID 315631.1)
- PowerTip of the Day-Replace Text in Files
- oracle You can disable statistics in the preference menu,or obtanin select priviliges on the v$sessi
- Oracle 10G RAC Clusterware Install ERROR:OCR integrity results are inconsistent amongst the nodes.
- Fix for IE crash on launching forms in Oracle Appl
- Automate the Sizing of your SGA in Oracle 10g
- Placement of Voting disk and OCR Files in Oracle RAC 10g and 11gR1 [ID 293819.1]
- How to adjust the high watermark in ORACLE 10g -- ALTER TABLE SHRINK
- Placement of Voting disk and OCR Files in Oracle RAC 10g and 11gR1 [ID 293819.1]
- Placement of Voting disk and OCR Files in Oracle RAC 10g and 11gR1 [ID 293819.1]
- 解决 Failed to load the DLL D:/Oracle/OracleBI/server/Bin/nqsdbgatewayoci10g.dll. Check if ‘Oracle OCI 10G’ database client is ins
- Running in 64 bit mode with the 32 bit Oracle client installed问题
- 在ASP.NET MVC 4 on Mono中使用OracleClient in CentOS 6.x的问题记录
- Trigger a button click with JavaScript on the Enter key in a text box