POST COMMIT FORM issue in Oracle Forms Personalization

Hi All,
I have following requirement in Oracle Forms Personalization :
1. User updates a records( from the table xxtable) in the Form
2. Following this, on saving the record, a stored procedure is called to pick those records which are updated/inserted and display. But its displaying still the old values, since commit has not occured.
3. I have added new forms personalization using POST-DATABASE-COMMIT and POST-FORM-COMMIT. However, none of this trigger is firing.
Used POST-UPDATE and POST-INSERT, but this trigger are not fetching the committed data but picking the old value.
Please let me know, how this requirement can be achieved in Oracle forms personalization?
Many Thanks in Advance.

the difference in time is that you doing the following additional tasks in forms that you dont do in sqlplus:
1. you are retrieving data into the fields of the form.
2. creating the record.
which is a network round-trip for each record. AFAIK.
if its an option for you, I would create a global temporary table and then populate the temporary table with the required data. Then build a base table block based on the global temporary table. This way you can use the forms default functionality and its fast because you dont have to populate all the records on the form before you see the first record!
:>)

Similar Messages

  • How to commit each record in Oracle Form Personalization

    Hi,
    how to commit each record with out using save button in form...my requirement is when cursor goes to next record it vil automatically stored in database please give me your valuable suggestion...
    Actual Requirement:
    here we need to give the locators(it is  number) whenever the cursor goes to next record it vil automatically incremented by 1(i wrote query for incremetation) and previous one vil be stored in database.
    Here i am using WHEN NEW ITEM INSTANCE IS USED Trigger..
    Thank You,
    Regards,
    Putta

    Hi,
    The commit should be done by the form, or whatever raises the business event.
    The API fires the event in the same transaction (unless the subscription is deferred), and then the commit is issued. This commits the transaction, and all actions of the event subscription.
    If the subscription is deferred, then the concurrent request which processes the subscription will issue the commit on completion.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://thoughts.workflowfaq.com ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • Text field highlighting Issue in oracle forms 11g after migrating from 10g

    We have migrated the oracle forms from 10g to 11g.
    On 10g oracle form when I click on the text item then text item value gets hilighted in blue color but after converting same form(without making any code changes) into 11g version form when I click on then text item then value is NOT hilighted.
    Could please help me why it's behaving different? Are there any configuration changes required at the application server side?
    Thanks

    christian,
    We have forms 11.1.1.2.0.
    In oracle forms “text item value is highlighted When user clicks on text item” is controlled by form level property “KEEP CURSOR POSITION”.
    This property is not working with JAVA SUN plug-in in forms version 11.1.1.2.0.
    This issue has been fixed under Patch Set 2 (11.1.1.3.0). Please see below meta link.
    https://support.oracle.com:443/CSP/ui/flash.html#tab=KBHome(page=KBHome&id=()),(page=KBNavigator&id=(bmDocDsrc=KB&bmDocType=BULLETIN&bmDocID=1099499.1&from=BOOKMARK&bmDocTitle=Fixed%20Bugs%20List%20-%20Patch%20Set%202%20(11.1.1.3.0)%20for%20Oracle%20Fusion%20Middleware%2011g&viewingMode=1143))
    Thanks,
    Satish N

  • Oracle 6i forms issue with Oracle 9i Database

    Hi Friends,
    I am having Oracle Forms Developer installed with patchset18.The Version is 6.0.8.27.0
    When i connect the forms builder to 9i Database (9.2.0.1) the form builder is getting crashed but i am able to connect the forms builder to e-business suite database(9.2.0.6)
    I tried installing 9i Database(9.2.0.1) on windows 2003 server,windows xp,windows 2000.
    When i connect my forms builder to any of these databases the forms builder is crashing with don't send message error on (ifbld60.exe).
    Is there any compatibility issue between forms builder(6i) and oracle 9i(9.2.0.1).Please suggest me.
    Regards,
    Arun .N

    Forms 6i connects to Oracle 9 databases just fine, even though it is no longer certified by Oracle.
    First of all, can you connect to the database with SQL Plus? Make sure that works first.
    The other thing that comes to mind is the AL32UTF8 character set. Forms 6i and other older Oracle software cannot connect to databases using it. But I have only seen that problem with Oracle 10g databases, so I am not sure about the Oracle 9 db.
    Here is a thread discussing the problem: Re: connecting form 6i  to oracle database 10G express edition

  • DML issue in Oracle forms

    Hi,
    I have seen sometimes the queries which work in oracle sql*plus and Pl/Sql Developer,they dont work in Oracle forms, for example following query works in
    Pl/sql developer,but not in oracle forms
    select *
    from tablea
    where name in (variable)
    so if variable contains 'AA','BB'
    and records are there in table ,it will not fetch any records,whether variable is with quotes or not .........
    whenever there is a dml statement involving variables ..behavior is somewhat different ....so to get that done ....i normally transfer them to database procedure or function .....then it works fine ..
    Is it known bug or what.
    Regards,
    SS

    You can use a FORMS_DDL or EXECUTE IMMEDIATE
    select_dml := ' select * from tablea where name in ('||:variable||')';
    FORMS_DDL ( select_dml);if variable contains 'AA','BB'

  • .jar file reusablility issue in oracle forms

    hello all
    i am using oracle forms
    {code}
    Forms [32 Bit] Version 10.1.2.0.2 (Production)
    Oracle Toolkit Version 10.1.2.0.2 (Production)
    PL/SQL Version 10.1.0.4.2 (Production)
    Oracle Procedure Builder V10.1.2.0.2 - Production
    {code}
    and using Database 10g
    {code}
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    {code}
    i am developing an application in oracle forms that sends message through GSM mobile when any transaction is commited.
    i wrote a class in java , made .jar file , edited default.env file CLASSPATH = "my .jar file"
    everything is working fine when i am trying the code in NETBEANS IDE, it sends messages again and over again with no delay..
    PROBLEM:
    the problem is that when i try to send message from oracle forms using that JAR file , it sends message for only single time , after that it neither shows me any error nor sends the message,
    (1) can it be problem of closing COM port for reusablity.
    (2) any other way to reuse the jar file.
    (3) should i program to closo the used port. (but java program is working very well in NETBEANS IDE).
    please suggest me what should i do to reuse .jar file again and over again.
    thanks

    thanks for your reply.
    sorry if forgot to mention that how i am using this java code.
    yes! i am using that java code using Java Importer in oracle forms 10g.
    importing that jar file i used PL/SQL code to use the static public veriables in oracle forms
    Procedure Send_Message(
        Cel_N In Varchar2
    Is
      Ora_Obj Ora_Java.Jobject;
      Com_P    Varchar2(10);
      Cent_No  Varchar2(100);
      Send_Sms Number;
      Mesg     Varchar2(200);
    Begin
      Ora_Obj := Smsclient.New(1);
      Smsclient.Setcomportname(Com_P);
      Smsclient.Setmsgcenternum(Cent_No);
      Send_Sms:= Smsclient.Sendmessage(Ora_Obj,Cel_N,Mesg);
    Exception
    When Ora_Java.Java_Error Then
      Message(Ora_Java.Last_Error);
    When Others Then
      Message(Sqlerrm);
    End;
    this Smsclient.Sendmessage Class is working very well in both plateforms in NETBEANS IDE and oracle forms but the difference is in this class that
    in NETBEANS IDE (when i run this class using F6 ) it works every time with no delay
    but when i use this same class in pl/sql code through oracle forms it works only for one time.
    COM ports and GSM modem is working property but why .jar file works for once.. and when i restart OC4J & oracle form at run time then it works for only once , meanse after starting OC4J i am able to send message through mobile for one time, means .jar file works only once, why not every time i call the class through oracle form..
    what should i check .. please..
    thanks

  • Question on Dynamic Query Data Source and Form Folders in Oracle Forms 6i

    Hi there -
    I have one interesting requirement in Oracle Forms.
    This is what I wanted to do.
    1. Have a LOV and Go button on Form.
    2. From LOV, I will select a pre-defined custom table and click Go.
    3. Based on the selected custom table, I have to populate the Block (Tabular Format).
    4. User should be able to do update, delete, insert on this block.
    5. User should be able to use the Oracle Form folders functionality (select only necessary column and save views etc. Std folder functionality).
    6. If user selects a different custom table name in the LOV on top, I need to refresh the data from the block based on this new table. Remaining functionality should be as it is (steps 3 to 5).
    You can see here, I am going to have dynamic query data source (Table Name as well as column mapping) on the block. I do not know before hand how many columns the user selected table has!
    This is what I have planned for this so far but I have some major questions before I can move on with this design:
    1. I am going to create a table structure with fixed number of column in form (40 cols assuming that the custom table will not have more that 40 cols). (Kind of limitation but it's okay as of now).
    2. Dynamically populate the block based on the table name selected by the user from LOV. Dynamically change the table column names based on the table selected etc.
    3. Perform insert, update, delete using PL/SQL package.
    So far it looks okay.
    Now my real question is,
    Can user still be able to user "Folders" functionality here? I have never done this kind of development before and I doubt the dynamic column naming, dynamic column data source will really work for "folders"!
    Also, I am not really sure whether user will be able to save these "folder" queries?
    Okay so form experts, can you ppl suggest me if this is really going to work? Are there any better ways to do this?
    Initially I tried to do this in OA Framework but I got stuck at because as per OAF developer guide "I cannot user OAF personalization for dynamic items, regions etc".
    For more info on that thread see this link...
    Re: setUserCustomizable issue!
    Thanks in advance for the help.

    Any suggestion anyone?

  • Webutil form  giving error "oracle.forms.webutil.* bean not found.

    i have done all settings as per given in documentation of webutil.
    forms is compiling but at runtime it gives error:
    oracle.forms.webutil.clientinfo.getclientinfo bean not found.
    what could be the reason.plz. help.
    shikha...

    Hi Shika,
    Probably, the issue could be because of any one of the following.
    <br>
    <br>
    1. Check whether you have added $OARCLE_HOME\forms90\java\frmwebutil.jar in the default.env under $ORACLE_HOME\Forms90\server folder.
    <br>
    <br>
    2. Check whether you have added the virtual directory
    <virtual-directory virtual-path="/webutil" real-path="$OARCLE_HOME/forms90/webutil" />
    in the file orion-web.xml under $ORACLE_HOME\j2ee\DevSuite\application-deployments\forms\forms90web folder
    <b<i>Correctly</i></b>
    <br>
    <br>
    HTH.
    <br>
    Regards,
    <br>
    Arun

  • Call Forms Forum from Oracle Forms Main Page - Error 404 Not Found

    Hello !
    The Layout and fuctionality of the Oracle Forms Forum has changed - very nice !
    But it's not possible to call the Oracle Forms Forum
    from the Oracle Forms Main Page !
    Error-message :
    404 Not Found
    OracleJSP: An error occurred. Consult your application/system administrator for support. Programmers should consider setting the init-param debug_mode to "true" to see the complete exception message.
    Thomas

    Please use the [Post-Upgrade Problems|http://forums.oracle.com/forums/forum.jspa?forumID=587&start=0] to report Forums related problems.
    This is the Forms Forum.
    Tony

  • Field selection problem in a form created in Oracle forms 9i

    I am using an application created in Oracle 9 i Forms. Mouse navigation in the forms do not work properly. Since a field is selected and some string is typed then first character is allways ignored hence it is necessary to press a key like before typing required string. The same application works well when I'm using Oracle JInitiator.

    Hi, again and thanks for the patience. I am using the oracle plugin all the time and it works. But I need to use the application on different computer where the oracle JInitiator could not be installed. There I am trying to use the Sun Java Plugin Version 1.4.2_06 (build 1.4.2_06-b03) which shall be compatible. Since last time I asked again the provider and I found that the application is pure Oracle Forms 9i application which doesn't need Java when it is run on the computer where the application is instaled. The Java plugin is then used to show the forms and to provide the comunication between clients and application server. Probably it is clear to you however I am not a developer but poor user only. I have also tried to play with the application to find how it works (or doesn't works). It seems that the problem is exactly with mouse navigation. When tab or enter is used then it works fine. But when a form field is selected by mouse then a character is typed and i can see it. But when I continue with the writing the first character is overwrite. Sometimes when there is a list of records row by row and I try to get to next row using the mouse the application tells me that some bloody key is not valid but using the key down I can easily go ti next row. To tell the truth I don't like mouses at all so it is no problem to me but other users do not know how Tab works :-)

  • From Forms Product Management - Oracle Forms 10g Demos

    We have released the Oracle Forms 10g demos which are now available on OTN.
    Please go to otn.oracle.com/products/forms and click on the top news item.
    Please let us know if you have any comments.
    Regards
    Grant Ronald
    Forms Product Management

    Oracle Forms is quit impressive as both a client/server and web-based solution. I have yet to see an application run over the web the way Oracle Forms does. It appears as a client/server application, except it's completely web-based.
    That's quite amazing, however, I have found that the rich interface and the sophistication of running Forms over the web comes with a big cost. The 8MB Jinitiator download turns a lot of people off.
    What I'm really wondering is if there is anyone out there who is using Oracle Forms as a web solution ?
    Thanks for your time.
    Best Regards,
    Bob Mazzo

  • How can I resolve the push button dot issue in oracle forms 10g..?

    Hi All,
    We have migrated to forms6i to forms10g, in 6i all the push button labels are displaying properly, but in 10g forms its giving dots like this … after displaying some characters. I guess its width problem but how come its changing in 10g alone.
    Kindly give me any workaround to resolve this issue
    Thanks in Advance
    Thangaraj.

    Hi All,
    We have migrated the forms 6i to forms 10g R2.We are facing push button issue like,the lable is displayed in the button is reduced.Assume the button's label name is Cancel.Actully it is displaying like Can.....Due to Java used in forming the buttons.We have forms count nearly 300.We have diffent size buttons.
    We have solution like
    1.Manually
    2.PC Creation
    3.Java Class and Jar Files
    4.JDAPI
    5.basejini.htm
    The method five,we have tried.But there is no changes after this changes also.
    Can you guys please let us know the correct menthod(with steps 1 by 1) to do this in quickly.
    2.There are look and feel 2 types oracle and generic,rather than this do we have any other type.We are looking for any cusrtomized settings in config files.
    Thanks in Advance.
    Regards,
    GR

  • Query Performance issue in Oracle Forms

    Hi All,
    I am using oracle 9i DB and forms 6i.
    In query form ,qry took long time to load the data into form.
    There are two tables used here.
    1 table(A) contains 5 crore records another table(B) has 2 crore records.
    The recods fetching range 1-500 records.
    Table (A) has no index on main columns,after created the index on main columns in table A ,the query is fetched the data quickly.
    But DBA team dont want to create index on table A.Because of table space problem.
    If create the index on main table (A) ,then performance overhead in production.
    Concurrent user capacity is 1500.
    Is there any alternative methods to handle this problem.
    Regards,
    RS

    1) What is a crore? Wikipedia seems to indicate that it's either 10,000,000 or 500,000
    http://en.wikipedia.org/wiki/Crore
    I'll assume that we're talking about tables with 50 million and 20 million rows, respectively.
    2) Large tables with no indexes are definitely going to be slow. If you don't have the disk space to create an appropriate index, surely the right answer is to throw a bit of disk into the system.
    3) I don't understand the comment "If create the index on main table (A) ,then performance overhead in production." That seems to contradict the comment you made earlier that the query performs well when you add the index. Are you talking about some other performance overhead?
    Justin

  • Performance issue in ORACLE FORMS

    I USED REF CURSOR TO LOAD DATA TO NON DATABASE BLOCK. IT GETS AROUND 50 MINUTES TO LOAD DATA.BUT IN SQL PLUS I RUN THIS QUERY WITH SAME PARAMETES.IT SHOWS RESULTS VERY QUICKLY.(INDEXES ARE ALREDY CREATED ).
    WHAT CAN BE THE ISSUE TO TAKE LONG TIME TO VIEW DATA IN THE FORM.
    CAN ANY BODY HELP TO SOLVE MY PROBLEM.
    THANKS.
    GO_BLOCK('BILLED_CALLS_P');
    FIRST_RECORD;
    OPEN V_C2 FOR SELECT BILL_DATE,TOLL_CHRG_NUM,TERMN_NUM,CALL_DATE,BILL_DURATN,CHRG_AMT,CALL_TYPE_CD,PLACE_NAME_CD,BILL_NUMBER,
    CALL_REC_NUMBER,TRUNK_ID1,TRUNK_ID2,SWITCH_CODE,TIMING_INDICATOR
    FROM BILLED_CALLS B
    ,DIRECTORY_NUMBERS D
    ,PACKAGE_SUBSCRIPTIONS P
    WHERE
    B.TOLL_CHRG_NUM=D.SERVICE_NUMBER
    AND B.TOLL_CHRG_NUM=P.SER_USR_SERVICE_NUMBER
    AND D.PRE_PAID='N'
    AND P.PAC_PACKAGE_CODE=:TXTPACKAGES
    AND B.CALL_TYPE_CD=V_NUM AND B.CALL_DATE BETWEEN vfdate AND vtdate
    AND (ROWNUM<=v_rownum OR v_rownum IS NULL);
    LOOP
    FETCH V_C2 INTO :BILLED_CALLS_P.BILL_DATE,:BILLED_CALLS_P.TOLL_CHRG_NUM,:BILLED_CALLS_P.TERMN_NUM,:BILLED_CALLS_P.CALL_DATE,:BILLED_CALLS_P.BILL_DURATN,:BILLED_CALLS_P.CHRG_AMT,:BILLED_CALLS_P.CALL_TYPE_CD,:BILLED_CALLS_P.PLACE_NAME_CD,
    :BILLED_CALLS_P.BILL_NUMBER,:BILLED_CALLS_P.CALL_REC_NUMBER,:BILLED_CALLS_P.TRUNK_ID1,:BILLED_CALLS_P.TRUNK_ID2,:BILLED_CALLS_P.SWITCH_CODE,:BILLED_CALLS_P.TIMING_INDICATOR;
    CREATE_RECORD;
    EXIT WHEN V_C2%NOTFOUND;
    END LOOP;

    the difference in time is that you doing the following additional tasks in forms that you dont do in sqlplus:
    1. you are retrieving data into the fields of the form.
    2. creating the record.
    which is a network round-trip for each record. AFAIK.
    if its an option for you, I would create a global temporary table and then populate the temporary table with the required data. Then build a base table block based on the global temporary table. This way you can use the forms default functionality and its fast because you dont have to populate all the records on the form before you see the first record!
    :>)

  • ORARRP 1.3.4 Remort Printing Issue in Oracle Form 10g.

    Dear All;
    Andreas Weiden You use this so Please help me regarding this matter it is very urgent.
    I am trying to use "Oracle Reports Remote Printing Utility 1.3.4 (ORARRP)". Here is the code that I am using to call the report.
    In "WHEN-BUTTON-PRESSED"
    BEGIN
    vcFile := get_application_property(USERNAME)||TO_CHAR(SYSDATE,'YYYYMMDDHHMISS');
    vcFile := vcFile||'.rrpa';
    report_id:=FIND_REPORT_OBJECT('REP_TST');
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_EXECUTION_MODE,BATCH);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,FILE);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESFORMAT,'pdf');
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESNAME,'Y:\02\02\'||vcFile);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,'REP_APPSRV_FRHOME1');
    :GLOBAL.ReportHandle := RUN_REPORT_OBJECT(report_id);
    :GLOBAL.PrintOutPut := vcFile;
    hTimer := CREATE_TIMER('PRINTER_QUEUE','15000',REPEAT);
    END;
    In "WHEN-TIMER-EXPRIED"
    BEGIN
    vcTimerName := get_application_property(timer_name);
    IF vcTimerName ='PRINTER_QUEUE' THEN
    vcStatus := REPORT_OBJECT_STATUS(:GLOBAL.ReportHandle);
         IF vcStatus in ('RUNNING','OPENING_REPORT','ENQUEUED')THEN
    NULL;
         ELSIF vcStatus ='FINISHED' THEN
              WEB.SHOW_DOCUMENT('c:\temp\'||:GLOBAL.PrintOutPut,'_blank')     ;
         delete_timer(vcTimerName);
         ELSE
    MESSAGE('Report Has failed');MESSAGE('Report Has failed');
    delete_timer(vcTimerName);
    END IF;
    END IF;
    END;
    ButI have no Idea where I set the name of my reort like my report is placed at "Y:\02\02\SUPP_INFOR.REP" how can I call this report?
    Please tell me if anybody using this......... Thx. In advance.
    B/R;
    Zahid Hussain
    Edited by: zahid9999 on Jul 30, 2010 9:48 PM
    Edited by: zahid9999 on Jul 30, 2010 10:26 PM
    Edited by: zahid9999 on Jul 31, 2010 1:04 AM
    Edited by: zahid9999 on Aug 2, 2010 3:06 AM

    Andreas Weiden You use thisI'm pretty sure i never used "Oracle Reports Remote Printing Utility 1.3.4" ;)
    In "WHEN-TIMER-EXPRIED"Why do you have to use a timer for this. I don't think its necessary.
    WEB.SHOW_DOCUMENT('c:\temp\'||:GLOBAL.PrintOutPut,'_blank') ;Web.SHOW_DOCUMENT shows a WEB-url and c:\temp\ definitely is none.
    I am trying to use "Oracle Reports Remote Printing Utility 1.3.4 (ORARRP)"And where do you use this? I don't find any call in your code..

Maybe you are looking for

  • Question regarding free of cost order (samples)

    scenario: i have a customer who wants to send 100 qty of good A free of cost to a customer. he wants the tax to show up on this order but the taxes on this are paid by the client himself and not the customer. how would i translate this into SAP? than

  • CHECK ON AVAILABLE STOCK INTO STOR. LOC. PROJECT BUSINESS

    Hi All, When adding a material on a material network (material master has indicator: individual / collective 1 into MRP4 view), immediately a Purchase req. is created for Q stock. Stock is received via PO into project stock. This is the normal proces

  • Sections conflict between custom header and footnotes renumbering

    Hi, friends. I'm finishing up my PhD thesis and have hit a tough one. I need to restart footnotes in each chapter. No problem, right? Well, I've also been asked to include the chapter name in the header of all pages . . . excluding the first page of

  • Can iPhoto share a stream with iOS7?

    hi I have created a shared photostream on an iOS7 phone, and allowed family members to post photos to it, but I can't seem to get the photos to synch with iPhoto on my Mac, is this even possible? I can post photos in iPhoto on my Mac to this shared s

  • Problem receiving Google Voice forwarded calls

    I've used a Google Voice phone no. for several years which forwards to my land line and also my cell phone with no issues.  Now, the calls still forward but it only rings once once on my land line and is immediately forwarded to my voice mail (I use