oracleforms

why dbms_job.submit doesn't work while the same code work with execute immediate?

独自空忆成欢 提交于 2019-12-25 04:51:08
问题 This is the frist time that I am going to use dbms_job.submit. The following piece of code doesn't work: declare i_job_no BINARY_INTEGER; begin dbms_job.submit(JOB => i_job_no, what => 'declare x number; begin x := f_threads(''my_program'', '|| 6058883 ||' , '|| 2 || '); end;', next_date => sysdate); dbms_output.put_line(i_job_no); end; but the same thing works fine with execute immediate. Can anyone help?! > declare i_job_no BINARY_INTEGER; begin execute immediate 'declare x number; begin x

Oracle 11g Reports and Forms Properties Mass updates

纵饮孤独 提交于 2019-12-24 14:53:13
问题 Brand new to dealing with Oracle Reports and Forms so forgive any terminology/syntax issues. Given new assignment to help another developer put new systems into place. New Systems are essentially COPIES of existing systems. The process that I've seen involves a LOT of by hand updates of FORM properties (Names and Report Group Sources) and Same is true for REPORTS. FRM and RDF files. This is all done "by hand", open/change/save/next. (Don't ask, it's one of those "we've always done this" and

How to change the push button label text and add a new functionality in runtime? Oracle Forms

谁说我不能喝 提交于 2019-12-24 05:56:25
问题 I'm learning Oracle Forms and Reports, This time I would like to coding within a push button some functionalities. I've added a push button named "Filter" for active the "enter_query" mode to add some search criteria using "WHEN-BUTTON-PRESSED" trigger in item level and adding code within this trigger. It's too easy to code: BEGIN ENTER_QUERY; END; But now, I have to add two new functionalities to this button: 1- First, When I write some search criteria and after push in the second button

Old and new values in Oracle Form

感情迁移 提交于 2019-12-23 09:37:03
问题 I'm working with Oracle Forms. I have a field named SOLD_TO_CUST_PARTY_NAME . I have to execute a process if I detect a change in the field's value. I tried using when_validate, but it's executed even if you just click the field and move to another field (validation ALWAYS occurs whether you change the value or not). Is there anyway I can check :old and :new or something similar to execute a process only if the field is modified? EDIT: Can't use personalizations. It has to be done with pl/sql

How can I create a folder via Oracle form builder?

笑着哭i 提交于 2019-12-23 05:36:09
问题 I want to know how I can create a folder via Oracle form Builder? Is it possible? I mean I want to create a folder dynamically and after that open it using Internet Explorer to customer that customer easily copy his files. I am using oracle 6i. 回答1: In Forms 6i running in client/server you could use the HOST command like this: HOST('md c:\somefolder\newfolder'); In later web-based versions of Forms you would use CLIENT_HOST instead of HOST. 来源: https://stackoverflow.com/questions/2964252/how

Accessing URL parameters in Oracle Forms / OC4J

旧城冷巷雨未停 提交于 2019-12-22 09:34:08
问题 How do I access parameters passed into an Oracle Form via a URL. Eg given the url: http://example.com/forms90/f90servlet?config=cust&form='a_form'&p1=something&p2=else This will launch the 'a_form' form, using the 'cust' configuration, but I can't work how (or even if it's possible) to access p1 (with value of 'something') p2 (with value of 'else') Does anyone know how I can do this? (Or even if it is/isn't possible? Thanks 回答1: Within Forms you can refer to the parameters p1 an p2 as follows

How to choose an AWT-EventQueue thread, when there are several of them

人盡茶涼 提交于 2019-12-22 04:00:59
问题 I successfully injected my own Java code in a running Oracle Forms application, using DLL Injection and some jni trickery. (Windows 7, 32 bits, Oracle Forms 11, JRE Java 8) I am able to traverse the tree of Components and to query and set values in some basic Java objects, such as those from class oracle.forms.ui.VTextField I am stuck when trying to simulate user click on a oracle.apps.fnd.ui.Button I tried 2 things : call the simulatePush method of the AbstractButton class call the activate

How to open direct CSV file using TEXT_IO in oracle forms?

余生颓废 提交于 2019-12-20 06:25:13
问题 I applied this code in oracle forms 10g on trigger WHEN-BUTTON-PRESSED. This code only save the file on target location. CODE: PROCEDURE GEN_EXCEL IS IN_FILE TEXT_IO.FILE_TYPE; VC_HEAD Varchar2(32000); vc_file_path Varchar2(50) := 'C:\'; BEGIN IN_FILE := TEXT_IO.FOPEN(vc_file_path||'Test'||'.CSV','W'); TEXT_IO.PUT_LINE(IN_FILE,'YOUR_TITLE'||chr(10)); VC_HEAD := 'header1,header2,header3,header4'; TEXT_IO.PUT_LINE(IN_FILE,VC_HEAD); FOR C1 IN ( SELECT column1, column2, column3, column4 FROM

error no master data blocks are available

我的未来我决定 提交于 2019-12-14 03:07:35
问题 I try create project but I have get to proplem in form builder when I click right and chose data block then chose table and click in add realshenshep I get these error said 'error no master data blocks are available' Please help me I am waiting to reply me Thanx 回答1: If you want the Wizard to create relationship between master and detail block, underlying tables have to be related - master table has to have a primary key, and it has to be referenced by detail table's foreign key. Forms is

enable-update-delete-insert a row when radio buttons pressed

﹥>﹥吖頭↗ 提交于 2019-12-13 20:53:14
问题 I had tabular with 10 number of display items which is disabled update delete insert property and also the text_items so at initialization of form most likely are disabled. I tried to add radio button so when user select a row only selected row will be enabled its text_items and update delete insert property when user move to another record it will disabled again but I am getting this error message ORA-00904: "RADIO_GROUP33": invalid identifier SELECT ROWID,column1,column2,column3,RADIO