oracleforms

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

寵の児 提交于 2019-12-05 01:36:56
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 method of the PushButton class (the 2 classes are in the class hierarchy for Button ) Results were

Evaluation of PL/SQL boolean variables in Oracle Forms

China☆狼群 提交于 2019-12-04 17:22:23
问题 Suppose I have a BOOLEAN variable within a PL/SQL block in an Oracle Form: DECLARE is_viewable BOOLEAN; BEGIN is_viewable := ...; IF NOT is_viewable THEN raise_my_error(); // pseudo-code END IF; END; After stepping through this code several times with a debugger, I have determined that raise_my_error() never gets called. To clarify: raise_my_error() does not get called if is_viewable = TRUE raise_my_error() does not get called if is_viewable = FALSE Initial tests suggest that this behavior is

Oracle Forms/Applications in Internet Explorer 8 using JInitator

◇◆丶佛笑我妖孽 提交于 2019-12-03 09:40:48
问题 Has anyone been able to get Oracle Forms running JInitator to loan in Internet Explorer 8 yet? I have tried removing all add-ons, various version of Java, add the domain to the trusted sites using wildcards, and using compatibility mode to no avail. I am looking to get our Oracle guys to kick there Internet Explorer 6 habit. This is related to Oracle E-Business. 回答1: To solve this problem you need to replace the file C:\Program Files\Oracle\JInitiator x.x.x.xx\bin\hotspot\jvm.dll with the sun

How to check conditions and write text into text file oracle forms

夙愿已清 提交于 2019-12-02 19:27:34
问题 I am creating Procedure in Oracle Forms in which Check Validation data and insert data into table. Also check Validation data If condition true then write Some texts into text file and If condition is not true then write some texts into text file. Like: Validation No.1 : OK Validation No.2 : OK I created procedure successfully for "TRUE" Condition. Now I want If One Condition is True and 2nd Condition is False then write texts into text file. Like: Validation No.1 : OK Validation No.2 : ERROR

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

北战南征 提交于 2019-12-02 13:33:05
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 Table_name) LOOP TEXT_IO.PUT_LINE(IN_FILE,C1.col1||','||C1.col2||','||C1.col3||','||C1.col4); END LOOP;

How to check conditions and write text into text file oracle forms

北城以北 提交于 2019-12-02 10:34:58
I am creating Procedure in Oracle Forms in which Check Validation data and insert data into table. Also check Validation data If condition true then write Some texts into text file and If condition is not true then write some texts into text file. Like: Validation No.1 : OK Validation No.2 : OK I created procedure successfully for "TRUE" Condition. Now I want If One Condition is True and 2nd Condition is False then write texts into text file. Like: Validation No.1 : OK Validation No.2 : ERROR And If both conditions "FALSE" Then Validation No.1 : ERROR Validation No.2 : ERROR Code: PROCEDURE

How to synchronize a java method called by PL/SQL

守給你的承諾、 提交于 2019-12-02 07:09:48
I just have a problem relative to concurrency whose logic flow is when a client (called Oracle Forms) will submit a request (called concurrent program ) and call a plsql procedure, this procedure eventually will call a java static method. What I find is that when I submit two request in the same time or in a very short interval(like 1 second), some concurrency problem will be noticed. The java method is the start point of doing something that search from the database suggest that which records should be inserted into database. The problem is that, they will result in duplicated result since

Run Oracle Forms as standalone without browser

馋奶兔 提交于 2019-12-01 13:32:06
I want to run Oracle Forms standalone without any web-browser with java plugin. Is there a way to call a compiled .fmx form directly via some java application or by calling the forms-JAR-files with some parameters? CU, Arne Inofficial contradiction: Yes, it's possible :-) Oracle support says it is officially not supported, but you can use Web Start (again not supported by Oracle). Support recommended this link: http://groundside.com/blog/JanCarlin.php?title=forms_and_java_web_start and our developers tried and succeeded. You can run it as local application without need of a web browser (looks

Run Oracle Forms as standalone without browser

↘锁芯ラ 提交于 2019-12-01 11:34:52
问题 I want to run Oracle Forms standalone without any web-browser with java plugin. Is there a way to call a compiled .fmx form directly via some java application or by calling the forms-JAR-files with some parameters? CU, Arne 回答1: Inofficial contradiction: Yes, it's possible :-) Oracle support says it is officially not supported, but you can use Web Start (again not supported by Oracle). Support recommended this link: http://groundside.com/blog/JanCarlin.php?title=forms_and_java_web_start and

how to read a excel file and insert data into oracle table

梦想的初衷 提交于 2019-12-01 07:41:22
问题 i am using oracle 11g.how to read a excel file and insert data into oracle table using plsql and oracle forms.i am new to to his topic. enter code here i tried https://sites.google.com/site/craigsoraclestuff/oracle-forms-webutil/read-excel-into-forms i need simple correct answer. how to inser this part to the program : v_fName := WebUtil_File.File_Open_Dialog( directory_name => 'C:\' ,File_Filter => null ,Title => 'Select Client filename to Open.' ); how to get cell value to a variable.i don