I need Help About OCX Oracle Spread Table

From: Alberto Rivas Cervera <arivas_at_mot.upv.es>
Date: Wed, 17 Jun 1998 12:30:02 +0200
Message-ID: <35879AAA.1E67_at_mot.upv.es>



I am using Forms 5.0 (Developer/2000 release 2.1). I have an ActiveX Control of Oracle Spread Table Class. I have been using it to show data and to read after what data have been selected by user. With this use I have not had any problem. But now, I am trying to select some rows by writing code. I am using the procedure AddSelectRow, but I don't know the right way to use it because I always receive the same error:

   FRM-40922: An OLE error occurred: 0x80020005.    What I do is:

  • First I Create the table with CreateTable.
  • Next I enter in a LOOP where I do:
    • NewRowByRowNum
    • new_row := GetRowByIndex
    • SetRowData
    • IF condition THEN AddSelectRow(:Item('block_name.item_name').interface, new_row); Then I receive the error. END IF;
    I would like to know how I can select rows by code in a Oracle Spread Table ActiveX control. Received on Wed Jun 17 1998 - 12:30:02 CEST

Original text of this message