Monday, 26 November 2012

Storing values from the page to a row in view object



                  This is one important step in OAF page development. Initializing the view object and storing values in to it from the page field. The steps are given below in the following code.

            OAViewObjectImpl var1 = (OAViewObjectImpl)am.findViewObject("XXVO");
                 if (!var1.isPreparedForExecution())
                 {
                    var1.executeQuery();
                 }   
                 var1.last();
                 var1.next();
                 OARow Row = (OARow)var1.createRow();
                 var1.insertRow(Row);
                 Row.setNewRowState(OARow.STATUS_INITIALIZED);

1 comment:

  1. PLSQL Android Apps - Useful productivity solution for Oracle consultants, please it checkout in google play store :

    Code profiler App
    https://play.google.com/store/apps/details?id=appinventor.ai_pshreedhar.PLSQL_Review1

    Plsql Flowchart App
    https://play.google.com/store/apps/details?id=appinventor.ai_pshreedhar.PLSQL_Flow2

    and also check out the solution demo in Youtube

    https://youtu.be/Wckm1_s9Y0M?list=PLqfoPI5nmJaNJNleopCOYh3rqX-8zraqU

    ReplyDelete