The example given below for writing text file or CSV using Text_IO package from a tabular block in Oracle Forms.   Suppose there is a tabular grid data block "Job_History" in your forms and you want to write a CSV on click of a button by reading…
Suppose you want to scan a tabular grid block (loop through all records in detail block) from top to bottom in Oracle forms. You can do this task by using :system.last_record system variable to determine whether it is last record in a block and then…
In this tutorial you will learn to copy the records from one data block to another data block on same form and on a same canvas in Oracle Forms. Below is the screen shot of the form and you can download this form for your reference from the following…
Example is given below to sort detail data block data (toggle asc or desc) with push buttons used as header of grid, by setting ORDER_BY property of data block using SET_BLOCK_PROPERTY command.   The following is the screen shot of this example and t…
SYSTEM.CURSOR_BLOCK Determining current block in Oracle Forms Using SYSTEM.CURSOR_BLOCK system variable. The value that the SYSTEM.CURSOR_BLOCK system variable represents depends on the current navigation unit:If the current navigation unit is the bl…
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.DECLAREv_dir VARCHAR2(250) := 'c:\temp';ft_tempfile CLIENT_TEXT_IO.FILE_TYPE;beginft_tempfile := CLIENT_…
1)问题现象: 在ubuntu下执行以下脚本( while_count),报错: -bash: ./while_count: /bin/bash: bad interpreter: Text file busy 2)问题原因: This happens because the script file is open for writing, possibly by a rogue process which has not terminated. 3)解决办法: Solution: Check…
本文转自:http://thiscouldbebetter.wordpress.com/2012/12/18/loading-editing-and-saving-a-text-file-in-html5-using-javascrip/ The HTML and JavaScript code below makes use of some features of HTML5 (specifically the “Blob” object, the File API, and the “dow…
在执行一个shell脚本时,遇到了“-bash: ./killSession.sh: /bin/bash: bad interpreter: Text file busy”错误提示,如下所示: [oracle@DB-Server bin]$ ./killSession.sh      -bash: ./killSession.sh: /bin/bash: bad interpreter: Text file busy 此时只需要在#!/bin/bash,加一空格#! /bin/bash即可解决问…
eclipse的使用-------Text File Encoding没有GBK选项的设置 2013-12-25 09:48:06 标签:java myeclipse使用 有一个项目是使用GBK编码的,在导入到Myeclipse10之后,由于我整个eclipse环境是UTF-8编码的,从而导致中文乱码. 解决办法: 右键项目->Properties->Text File Encoding中没有GBK这个选项.此时你可以手动输入编码方式,如输入GBK,然后点确定,编码格式就成为GBK了,解决了中…