OLE object storage and retrieval FORMS 6.0

Hello All,
Iam using forms 6.0 and iam using OLE object to store the data object into the database, using the block wizard i created the object and from the
action->Save iam saving the ole object to the database....
Now i want to retrive the ole object from the database....
my sql is
declare
ol long raw;
begin
select ole_object into ol from drawing_files where draw_no=1;
drawing_files.ole_object:=ol;
end;
Its showing error in "Bad bind variable"
How to solve the error
and if possible i need the sql coding for storage and retreival of OLE object data..
Thanks......

I have re-applied the patch and the problem has vanished??
Everything appears to function properly.

Similar Messages

  • Data storage and retrieval

    I am working on a project that requires the storage and retrieval of about 70 unique values per class. There are also about 60 different instances of this class- all with 70 unique values.
    For security reasons, I am reluctant to use a separate database to retrieve and store these values and have opted for Collections, using Hashmaps or Treemaps to store and retrieve. Is this the only way forward?
    Have been working on Java for only 18 months so still a bit green. Any guidance would be appreciated.
    Thanks

    I do need persistant variables and a database is certainly the tidiest option however, the data security required is not only to preserve the data integrity but it is also of significant commercial worth, hence the attraction of going down the hashmaps/treemaps route. The aim is to deploy the software without needing to reference an external or local database.
    I'll do a bit more research into database security before scrapping the idea altogether.
    Thanks
    Kola

  • Ole objects,background and open dataset

    Hi,
    I want to read ms access files on background using ole objects. Is it possible to apply open dataset operation for mdb files? As known, text files can be get into application server using open dataset. But I need to get mdb file to application server.
    On the other way I can simulate my problem as, is it possible to read excel files(for example) using <b>ole object</b> in background? If I can get an aswer, maybe I can simulate it as reading mdb files.
    Thanks.

    OPEN DATASET is meant for the flat text files, you won't be able to open an mdb file with it. Once I've tried using OLE objects to obtain the file modification date and, even though it worked great in foreground, it didn't work in the background mode.
    This thread on reading MS Access files in SAP might be helpful:
    Re: download table from ms-access

  • XML storage and retrieval in/out of 8i

    Please take into consideration my lack of exerience in XML and
    Oracle8i when you read this question....
    Our project is considering using Oracle8i to store, query &
    retrieve XML documents. Having read several Oracle web sites on
    XML, I'm left with the impression that the Oracle iFS is at the
    conerstone of Oracle's XML implementation. The idea of a
    drag-n-drop approach to place XML data files into the database is
    interesting, but I suspect our project needs a more "programatic"
    (i.e. background/automatic) approach to conveniently storing and
    retrieving XML data. I've read only "hints" that O8i will support
    this. My question: where can I find out more about what Oracle8i
    has to offer the developer in this area?
    Thanks
    Syd
    null

    Hi Meghana,
    concerning KM (I am assuming 6.0, SP2)in general, connection of repositories, classification of content, creation of your own properties, etc. I can only point you to the documentation for:
    a) Administrators
    http://help.sap.com/saphelp_ep60sp2/helpdata/en/38/76bd3b6e74d708e10000000a11402f/frameset.htm
    b) End Users
    http://help.sap.com/saphelp_ep60sp2/helpdata/en/4a/725b3bad64474ee10000000a114084/frameset.htm
    Concerning APIs, if the standard configuration options of KM (described in Admin Guide) and of the SAP Enterprise Portal are not enough, please check:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/sap netweaver developers guide.booklet
    Regards,
    Karsten

  • Implement the storage and retrieval of object descriptors

    I need to get the name of a class, methods etc from the console and then some how store them and then retrieve ... them...
    the user can enter
    employee
    int id;
    String name;
    printMe();
    }

    THought this might help you
    http://forum.java.sun.com/thread.jsp?forum=62&thread=444118&tstart=15&trange=15

  • Bulk form creation, merge, and retrieve form data

    I am new to acrobat, and can't even find a place to start for what I want to accomplish.  I have a directory with 1000 single page pdfs (filenames are data_0001.pdf, data_0002.pdf, etc.).
    For every single page pdf, I want to embed a form with a radio button list containing several options and a comment text box.
    Every page needs a unique form ID that can be related to the original single page pdf filename.
    I want to merge all the single page pdf files with the embedded form into a single multi-page pdf.
    A user looks through the multi-page pdf and selects from the radio button and adds comments on every page, and saves the pdf.
    I then want to export from the saved pdf a three column spreadsheet or csv file with columns
    "original pdf filename" "result of radio button list" "comment text box"
    I need to do this at least 100 times, so each stage needs to be scripted.
    Can anyone point to a link for anything remotely close to the work flow steps needed to accomplish this with acrobat.
    Thanks for any help you can provide.

    You can use a batch process to add the form fields to each PDF. You should make the field names for each page unique, so that when you combine the individual pages into a single PDF, the form will behave properly. You can base the field names in each PDF on the original file name to achieve this. To add field with a script in a batch sequence, use the doc.addField JavaScript method: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.435.html
    You can then combine the single page PDFs with form fields into a single PDF, either using an external script (e.g., VBScript) or a script in Acrobat, but you'd need the list of files to combine, especially if you care about the order of pages. Acrobat also has the "Files > Combine > Merge Files into Single PDF" feature, but I can't say it will work to combine that many forms at once, so you'll just have to see.
    As for exporting data, This too can be scripted. I'd suggest that the script can create the data file that gets added to the document as a file attachment (data object), which can then be extracted. Creating a tab separated text file is simpler than ensuring a properly constructed CSV, so that's what I'd be inclined to do. A user is not able to enter a tab character into a form field, so you shouldn't have a problem with this. See the createDataObject documentation for more information: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.450.html
    Good luck,
    George

  • Need Help in dynamic object building and retrieve infos about it

    Hello,
    I'm building a flex project where i want to add tabs to a navigator which contains a text area and 2 buttons.
    It's ok to build it but my problem is to access to all this data inside the text area..
    This is a part of my code to create a new tab:
                   var newCanvas:Canvas = new Canvas();
                    var newVBox:VBox = new VBox();           
                    var newLabel:Label = new Label();
                    var newText:TextInput = new TextInput();
                    var newChatBox:VBox = new VBox();
                    //var newHBox:HBox = new HBox();
                    //var newButton1:Button = new Button();
                    //var newButton2:Button = new Button();
                    numChild = nav.numChildren + 1;
                    newVBox.label = "Panel " + numChild;
                    newLabel.text = "TabNavigator container panel " + numChild;   
                    newText.id = "txtMsg"+numChild;
                    newText.width = 379;       
                    newChatBox.id="chatMessages";
                    newChatBox.width=550,
                    newChatBox.height=55;  
                   newVBox.addChild(newChatBox);
                    newVBox.addChild(newLabel);
                    newVBox.addChild(newText);
                   newCanvas.addChild(newVBox);
                    child.addChild(newCanvas);   
                    nav.addChild(child);
    When i create it, i get the name of the vbox and the label (exemple: vbox450label449):
    var myobj:Object = nav.selectedChild;
    Alert.show(" test "+myobj.getChildAt(0));
    I want to get the information in the text object instead of his name. How can i do that?
    Thanks for your help

    Hi kglad,
    Thanks for your reply,
    I've try it but it doesn't work..
    I've have this at the beginiing of the code: var objectIndex:uint=0;
    In my function i have this :
                    var newCanvas:Canvas = new Canvas();
                    var newVBox:VBox = new VBox();           
                    var newLabel:Label = new Label();
                    var newText:TextInput = new TextInput();
                    var newChatBox:VBox = new VBox();
                    numChild = nav.numChildren + 1;
                    newVBox.label = "Panel " + numChild;
                    newLabel.name = "newLabel"+objectIndex;   
                    newLabel= getChildByName("newLabel"+objectIndex);
                    Alert.show(newLabel.label);
                   objectIndex++;
    And i have errors, i have tried newLabel:Label= getChildByName("newLabel"+objectIndex); and newLabel:Object= getChildByName("newLabel"+objectIndex);
    but it don't work again..
    I have change the name of the object too without success..
    The name of the object seems to be newLabel0 but i'm unable to get his properties correctly..
    Thanks again and sorry for being slow to understand..

  • Using OLE Objects in Forms 6i

    Hi
    I need to use OLE object (VSFlexGrid) in my forms 6i. can anybody help with some code by which I can achieve this.
    Warm Regards
    Vivek Bajaj

    Hi Shay,
    Thanks for the reply but i was unable to register to metalink. they need some support agreement code which i do not have. Can you please give me some more information on how to use that.
    waiting for an early reply.
    Warm Regards
    Vivek Bajaj

  • Document Management - store and retrieve

    Currently we are running on SRM 4.0 with SRM 5.0 server and Netweaver 6.4.   Our screens were developed using BSPs and running in SAP Portal 5.0 (soon to be 6.0, hopefully).   What is the recommendation for storing and retrieving documents?  There are SEVERAL postings on different sites, but not getting anywhere.  Some of the postings contain specific function modules (like Bapi_document_create2, CVAPI, O_Document_…) but were not found in our system.  We did find CL_BDS_DOCUMENT, but found the following statement "SAP currently recommends not using BDS or DMF. Even use of the other Knowledge Provider services should be evaluated carefully." within this site's documentation under Knowledge Provider section.  Can anyone refer us to some technical documents and hopefully sample code?

    Your question is not easy to answer. There are different options to store and retrieve documents. First of all it depends on the functionality you need on your documents. Since I have no experience with SAP KM I can only talk about the options within SAP NetWeaver.
    The SAP Knowledge Provider is divided into different part. The most basic part is the CMS API(Content Management Service) (All function modules starting with SCMS_*). This API allows the retrieval and storage of documents in terms of the SAP Knowledge provider document model where a document consists of components and each component corresponds to the content. With the CMS API you can store and retrieve those documents in a Content Server via the HTTP 4.5 interface.
    Such a content server can be an external archive system that is certified for the HTTP 4.5 API (a list is provided by the ICC), the SAP data base or preferably the SAP content server (coming with SAP NetWeaver).
    All document management services in SAP (SAP ArchiveLink, Business Document Service, SAP Records Management, Document Management System) are clients of the SAP Knowledge Provider CMS API.
    Now, in order to model documents, the SAP Knowledge provider comes with the SAP DMS API. This DMS API is used to model complex document models (attributes, relations, ...) based on a so called content model that can be modelled via the document modeling workbench (DMWB). Here, the document management services mentioned above behave different. The SAP Knowledge provider is only infrastructure. This infrastructure has specializations using this infrastructure. Here are the most important ones I know about.
    SAP ArchiveLink: This services offers the storage and retrieval of simple images and the service of linking those images to business objects. Those links are for example contained in the table TOA01.
    So, the main focus here is to be able to navigate from a business object to the related images. It further has a workflow integration. The classical example is the invoice related to an FI document.
    SAP ArchiveLink does not support any kind of document management functionality such as versioning and indexing. But, with the introduction of the SAP Document Finder, this can be done project specifically.
    SAP ArchiveLink comes with a nice document viewer for viewing stored documents.
    SAP Business Document Service: The business object serevice was designed to be a simple API for managing documents including simple versioning and indexing of images and documents.
    SAP Document Management Service: This is the specialization with respect to PLM. So, DMS has the focus on engineering documents but can also be used to store other images and documents. SAP DMS offers document management functionalities such as check-in, check out of documents.
    SAP DMS is using a classification service for classifying documents. It also has a very large BAPI API for the external access on those documents. As far as I know, SAP DMS is not part of SAP NetWeaver (therefore, you did not find CVAPI*).
    SAP Records Management: SAP Records Management can be used for document management but is more than that.
    Within Records Management it is possible to create hierarchical structures and to fill them with all kinds of documents. You can either integrate scanned images (via ArchiveLink) or you can use the SAP Records Management Document service provider offering some basic DMS functionalities such as versioning and indexing. The nice thing is that you can keep a whole structure of documents and even any other SAP objects such as business objects, transactions or URL's.
    A typical application example is a HR personnel file. We've already done a lot of projects on that.
    In the end, the choice of the document management infrastructure depends on the needs you have.
    If you simply want to store and retrieve documents without any document management functionality ArchiveLink or simply the SAP CMS API will do.
    If you need hierarchical structures for your documents and an integration with various business objects SAP Records Management would be a good choice.
    You will find quite a lot of documentation in http://help.sap.com about these services.
    Now, a last remark for web applications. Most of the GUI's of the upper applications are made for SAPGUI. So, here it is necessary to extend the SAP functionality by developing own applications. Since all services are using the CMS HTTP API for storing and retrieving the content you can always generate a URL for displaying the documents. Use SCMS_DOC_URL_CREATE for creating such a URL for example.
    I hope, that helps a bit.
    Torsten

  • Regarding Support of OLE objects

    Hi,
    I have a migration tool that migrates data from Lotus Notes ECM. However i am not sure about Office Info Path 2010 that supports the creation of OLE objects or not. I just want to make sure if Info Path supports this feature(OLE Objects) , it would be helpful
    if i am provided with some links regarding this and if it does not support how can i proceed further with my OLE Objects that i have in Lotus Notes ECM and migrate those to Office Info Path.
    Since my test passed successfully when i migrated an simple attachment only from source Lotus Notes ECM to Info Path 2010 but OLE objects fails and i get nothing displayed in Info Path 2010 document.
    Any comments/suggestions will help a lot.
    Thanks in Advance.

    Hi Murali,
    Thanks a lot for the response.
    I have checked it for the Info Object and it is in the respective package. But,the data elements and domains are still in $TMP .
    Regards,
    Manjari.

  • To store PDF into BLOB and retrieve into OLE/OCX

    We would like to:
    1. Store a PDF file (output of a report saved in file server) into a BLOB
    column.
    2. Retrieve previously stored PDF in the BLOB column and display using either
    OLE automation or ActiveX (OCX) control.
    I read all related documents in metalink that addresses this issue however cant
    get this to work. We have Acrobat Reader 4.0. Here are some issues from the
    tests that I did:
    1. To load the PDF file the program code that uses BFILE and LOADFROMFILE does
    not work since the database is on a remote server and the PDF file is on a
    local file server. The DIRECTORY created on the database is unable to find the
    PDF file.
    2. Though I want the loading of the file to be programmatic, I tried
    right-click on the OLE container and inserted object from file. This loaded the
    file into the container (Icon on the container appeared) however I was not able
    to view the document by double-clicking. An error in Adobe occured: 'There was
    an error opening this document. A file read error occured'. My guess is the
    'Insert Object' did not insert the file properly into the BLOB.
    3. When trying to display the PDF file stored in file server (in case storing
    into BLOB does not work), I used an OCX control, right-clicked and Insert
    Object and select Adobe Control for ActiveX. The problem here is when I run the
    form, the OCX control shows up empty and I have to 'Insert Object' again in
    runtime. Once I manually insert object from runtime the GET_INTERFACE POINTER &
    SET_PROPERTY works fine is displaying the document. Is there any way to
    maintain the control property of the OCX when the form is run?
    4. Are there any workarounds and better solution to store PDFs into BLOBs and
    retrieve and display in OLE/OCX controls? Using temporary file into local drive
    is not an issue.
    5. Would I be able to make use of 'PDF.PdfCtrl.1' OLE class?
    6. Does OLE automation work for Acrobat Reader 4.0.?
    I would appreciate all the help.
    Shyam

    Im facing a similar kind of problem. I want to store and retrieve Office files, PDF and Jpegs into/from the database to view them on web in disconnected mode. Please reply as I cant find any help/documentation regarding saving BLOB data into files. I was able to store file data into BLOB, using DBMS_LOB package.
    Shahzad

  • Retrieve variable value from local Storage and display on canvas

    Hi
    I'm working on a project that has multiple html files (the projects are split into 12 so 12 different edge projects and im linking them via window.open()). I have a variable that keeps track of correct answers stored in LocalStorage html object. I have managed to get the localStorage variable to increment up by one each time the object is correct however my last step is to get the variable and them display the result on the canvas. I have tried
    var outPut localStorage.getItem(' ') method to retrieve the variable then used the set and get method to display the result however it doesn't work. Im not sure if I need a for loop to go though the localStorage and get the elements
    Code:
    // insert code to be run when the composition is fully loaded here
    yepnope({nope:['jquery-ui-1.10.0.custom.min.js','jquery.ui.touch-punch.min.js'],complete: init}); // load the jquery files
    sym.setVariable("myScore", 0);
    var c = localStorage["myCount"] || 0; //loading from localStorage
    function init(){
    sym.getSymbol("barLimit").$('scrubber').draggable({start: function(e){
    },drag: function(e,ui){ // start: ...  // Find original position of dragged image
    var leftLimitScrubber  = sym.getSymbol('barLimit').$('scrubber').position().left; // position of the scrubber
    var rightLimitScrubber  = sym.getSymbol('barLimit').$('leftLimit').position().left;
    var LimitTwoLeft  = sym.getSymbol('barLimit').$('rightLimit').position().left;
    if(leftLimitScrubber == rightLimitScrubber){
      sym.getSymbol('correctBar1').play('in'); //
      sym.getSymbol('nextButton').play('in');
      sym.getSymbol('incorrectBar1').play('out'); //
      sym.getSymbol('thumbsDown1').play('out'); //
      sym.getSymbol('thumbsUp1').play('in'); //
      sym.getSymbol('congrats').play('in'); //
    localStorage["myCount"] = parseInt(c)+1; //Converting string to number, and then saving it
    console.log("numberOfCorrectAnswers", localStorage["myCount"]);
    var finalScore = sym.getVariable("myScore");
    finalScore = c;
    sym.setVariable("myScore", finalScore);
    sym.$("Score").html(finalScore);
    } else if(leftLimitScrubber == LimitTwoLeft){
    sym.getSymbol('incorrectBar1').play('in');
    sym.getSymbol('correctBar1').play('out');
    sym.getSymbol('thumbsUp1').play('out');
    sym.getSymbol('thumbsDown1').play('in');
    axis: "x",
    containment: "parent"
           //for (var i = 0; i < localStorage.length; i++){ // iterate throught the local storage
             //var getItem = localStorage.getItem(localStorage.key(i));
              //if(getItem == 'numberOfCorrectAnswers' ){
    The above is the code for the 12th project in  this projects it needs to display the variable inside the object localStorage and display on the canvas.
    Any help will mean a lot. Thank You in advance
    P.S edge animate has a lot of bugs hard to code in

    what you need to do is to create a text box and set a default value of zero. Once that is don't you need a code on the stage which grabs the value form the localStorage object. I used the .text() jquery method to display the value on the canvas. So the zero will be replaced with whatever the value of the localStorage is.
    You also need a if statement to check if the localStorage is undefined, if its not then grab the value and display on the canvas.
    e.g
    var number = localStorage['finalValue']; // for the sake of completeness I had to put this line of code
    if( number ! = undefined){ // if not undefined so the object exits then ...
         sym.$(' (text identifier) '). text(number); // note text identifier is the name of the text box you create in edge
    } // Done

  • Header and footer in excel sheet (ole object)

    How can we generate footer and header in an excel sheet with ole object ?
    Thanks

    hi brian,
    Excel Upload Alternative - KCD_EXCEL_OLE_TO_INT_CONVERT
    *Title : Excel Uploading
    TYPES:   BEGIN OF t_datatab,
             col1(25)  TYPE c,
             col2(30)  TYPE c,
             col3(30)  TYPE c,
             col4(30)  TYPE c,
             col5(30)  TYPE c,
             col6(30)  TYPE c,
             col7(30) TYPE c,
             col8(30)  TYPE c,
             col9(30)  TYPE c,
             col10(30)  TYPE c,
             col11(30)    TYPE c,
           END OF t_datatab.
    DATA: it_datatab TYPE STANDARD TABLE OF t_datatab INITIAL SIZE 0,
          wa_datatab TYPE t_datatab.
    Data : p_table type t_datatab occurs 0 with header line.
    DATA : gd_scol   TYPE i VALUE '1',
           gd_srow   TYPE i VALUE '1',
           gd_ecol   TYPE i VALUE '256',
           gd_erow   TYPE i VALUE '65536'.
    DATA: it_tab TYPE filetable,
          gd_subrc TYPE i.
    field-symbols : <fs>.
    *Selection screen definition
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS:  p_file LIKE rlgrap-filename
                   DEFAULT 'c:\test.xls' OBLIGATORY.   " File Name
    SELECTION-SCREEN END OF BLOCK b1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      REFRESH: it_tab.
      CALL METHOD cl_gui_frontend_services=>file_open_dialog
        EXPORTING
          window_title     = 'Select File'
          default_filename = '*.xls'
          multiselection   = ' '
        CHANGING
          file_table       = it_tab
          rc               = gd_subrc.
      LOOP AT it_tab INTO p_file.
       so_fpath-sign = 'I'.
       so_fpath-option = 'EQ'.
       append so_fpath.
      ENDLOOP.
    START-OF-SELECTION.
      PERFORM upload_excel_file TABLES   it_datatab
                                 USING   p_file
                                         gd_scol
                                         gd_srow
                                         gd_ecol
                                         gd_erow.
    END-OF-SELECTION.
    END-OF-SELECTION.
      LOOP AT it_datatab INTO wa_datatab.
        WRITE:/ wa_datatab-col1,
                wa_datatab-col2,
                wa_datatab-col3,
                wa_datatab-col4,
                wa_datatab-col5,
                wa_datatab-col6,
                wa_datatab-col7,
                wa_datatab-col8,
                wa_datatab-col9,
                wa_datatab-col10,
                wa_datatab-col11.
      ENDLOOP.
    *&      Form  UPLOAD_EXCEL_FILE
          upload excel spreadsheet into internal table
         -->P_TABLE    Table to return excel data into
         -->P_FILE     file name and path
         -->P_SCOL     start column
         -->P_SROW     start row
         -->P_ECOL     end column
         -->P_EROW     end row
    FORM upload_excel_file TABLES   p_table
                           USING    p_file
                                    p_scol
                                    p_srow
                                    p_ecol
                                    p_erow.
      DATA : lt_intern TYPE  kcde_cells OCCURS 0 WITH HEADER LINE.
    Has the following format:
                Row number   | Colum Number   |   Value
         i.e.     1                 1             Name1
                  2                 1             Joe
      DATA : ld_index TYPE i.
    Note: Alternative function module - 'ALSM_EXCEL_TO_INTERNAL_TABLE'
      CALL FUNCTION 'KCD_EXCEL_OLE_TO_INT_CONVERT'
        EXPORTING
          filename                = p_file
          i_begin_col             = p_scol
          i_begin_row             = p_srow
          i_end_col               = p_ecol
          i_end_row               = p_erow
        TABLES
          intern                  = LT_INTERN
        EXCEPTIONS
          inconsistent_parameters = 1
          upload_ole              = 2
          OTHERS                  = 3.
      IF sy-subrc <> 0.
        FORMAT COLOR COL_BACKGROUND INTENSIFIED.
        WRITE:/ 'Error Uploading file'.
        EXIT.
      ENDIF.
      IF lt_intern[] IS INITIAL.
        FORMAT COLOR COL_BACKGROUND INTENSIFIED.
        WRITE:/ 'No Data Uploaded'.
        EXIT.
      ELSE.
        SORT lt_intern BY row col.
        LOOP AT lt_intern.
         MOVE lt_intern-col TO ld_index.
         assign component ld_index of structure
         p_table to <fs>.
    move : lt_intern-value to <fs>.
        MOVE lt_intern-value TO p_table.
          AT END OF row.
            APPEND p_table.
            CLEAR p_table.
          ENDAT.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    "UPLOAD_EXCEL_FILE
    thanks
    abdul

  • Ole retrieval FORMS 6.0

    Hello All,
    Iam unsing forms 6.0 and iam using OLE object to store the data object into the database, using the block wizard i created the object and from the
    action->Save iam saving the ole object to the database....
    Now i want to retrive the ole object from the database....
    my sql is
    declare
    ol long raw;
    begin
    select ole_object into ol from drawing_files where draw_no=1;
    drawing_files.ole_object:=ol;
    end;
    Its showing error in "Bad bind variable"
    How to solve the error

    I make icon file 16x16 and use it in FTree.
    But FTree reflect icon as 32x32.
    null

  • Urgent!! How to publish a session Info Object once and pass it to sevaral forms

    Hi , I am using JDev 3.1. I have this problem when i create several forms in Jdev, where the wizard adds a sessionInfo object for each form. It also publishes them on the Infobus every time the form is called.I tried to use 1 marster sessionInfo Object from a marster form publish it there and then pass it to the other forms, but then the rowsets don't work propally. I f any one has any ideas please post as soon as possible.

    We do have a FAQ, and the topic is part of the FAQ. Unfortunately, it seems that the FAQ is not yet available on OTN. In the meantime, I'll post some of the content here which may be useful:
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>
    Q
    How do I share database information across multiple Frames?
    A
    This describes using a SDI with multiple frames that share common database information (for example, a master-detail application
    based on Dept-Emp where Dept information is dispayed in one frame, and Emp in another). For help in constructing an MDI
    application, please refer to the JDeveloper documentation.
    1.Create an empty project
    2.Add a class to this project (this class will contain the SessionInfo, RowSetInfo, AttributeInfo)
    3.Switch to Design mode for this class, and create the SessionInfo and RowSetInfos for your application by selecting the
    appropriate object from the Component Palette, then clicking in the Structure Pane.
    4.Set the properties of these objects as normal.
    5.Create an Application with an empty Frame
    6.In design mode, drop the desired controls into the Frame.
    7.You can set all the properties for these controls as usual except for the properties that bind the control to a datasource. To bind
    the controls to a datasource, switch to Source mode and add the appropriate code, for example:
    textFieldControl1.setDataItemName("infobus:/oracle/sessionInfo1/rowSetInfo1/Deptno");
    8.Repeat steps 6 and 7 for the second Frame.
    9.Modify the Application to instantiate the class that contains the database information, and optionally to display the second
    Frame (you may want to use a button on Frame1 that shows Frame2 instead).
    Note that if you wish to access the methods of the database information objects programmatically, you may need to make the objects
    public static.
    <HR></BLOCKQUOTE>
    Also in regards to Ali's comment that executing all these queries when the app starts, you may be interested in the following:
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>
    Q
    How do I delay the execution of one or more queries?
    A
    By default, all queries being used by RowSetInfos in your application are executed when SessionInfo.PublishSession() is invoked.
    There are two methods to potentially improve the performance of your DAC application if your queries return a large number of
    rows.
    1) As a workaround, you can dynamically alter the Where clause of your queries so that fewer rows (or no rows) are retrieved
    initially. For example, include the condition 1=2 in the Where clause. Then, based on some interaction from the user, you can set a
    "real" where clause condition. For information on dynamically altering the Where clause, see the appropriate FAQ.
    2) A slighter cleaner method is to delay the association and subsequent publishing of the RowSetInfo until AFTER
    SessionInfo.publishSession() is invoked. The following illustrates the order in which the key steps would be performed:
    1.define the all RowSetInfo objects and their attributes
    2.parent any RowSetInfo whose queries should be executed immediately to the SessionInfo object
    3.publish the SessionInfo
    4.parent any RowSetInfo objects whose queries should be delayed to the SessionInfo object
    5.when appropriate, publish the RowSetInfo using RowSetInfo.publishRowSet(true)
    <HR></BLOCKQUOTE>
    And, finally, the above makes reference to a FAQ for how to dynamically set the where clause:
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>
    Q
    How do I dynamically alter the Where clause of a RowSet?
    A
    There are two ways to accomplish this task. You can either call the setWhereClauseCondition on the RowSet, or you can use bind
    variables. Both of the samples below assume a TextField named textSearch in which the user has entered a search value.
    void buttonSearch_actionPerformed(ActionEvent e) {
    // Two ways of "refreshing" the RowSet with condition specified by user
    // Note that both samples use AttributeInfo.getColumnName() to get the appropriate
    // format of the column name which differs depending on whether the VO uses "Expert mode"
    // Example using dynamically created condition
    rowSetInfo1.setQueryCondition(NamerowSetInfo1.getColumnName() + " LIKE '" + textSearch.getText() + "%'");
    // Example using bind variable in condition (Note that the VO and its associated views must use ? style parameters)
    rowSetInfo1.setQueryCondition(NamerowSetInfo1.getColumnName() + " LIKE ?");
    rowSetInfo1.setQueryConditionParams(new Object[] {textSearch.getText() + "%"});
    // Execute the query in either case...
    rowSetInfo1.executeQuery();
    <HR></BLOCKQUOTE>
    I hope this helps!!!
    -- Brian
    null

Maybe you are looking for

  • Aperture repaired library, now it says there's an error in the library and doesn't open it

    I'm running Aperture 3.2.3, and the following happened: I'm keeping my library on an external harddrive. As I had the library open in Aperture, the external hardrive got accidentally disconnected. I quit Aperture, reinserted the external harddrive, a

  • GL a/c balances report

    Hi All, When im trying to get report in this path Accounting>Financial Accounting >General Ledger >Reporting >Information System >General Ledger Reports (New) >Account Balances >General >G/L Account Balances >G/L Account Balances (New) I gav vendor r

  • ADF: Calendar

    Hi all, I'm using JDev 11.1.2.0 and I'm having a couple of question concerning calendar component. 1) Is there any way to present an event as an all-day event? Even when the returned VO record has only date (dd/mm/yyyy - NO time at all), it still sho

  • Broken LCD TV SCREEN 40E210U

    Hi, My Toshiba tv 40E210U screen has a crack, I also have a 40E200U for repair, are the screens or cards interchangeable ?

  • Oracle RAC 11g R1 Release Connection Failover Problem

    Hi All, In our Architecture we are using Oracle RAC 11g R1. Below is the JDBC URL : JDBCURL = jdbc:oracle:thin:@(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = Host1-vip)(PORT = 1521))(ADDRESS = (PROTOCOL = TCP)(HOST = Host2-vi p)(PORT = 1521))(LOAD