Recent content by Equinox

  1. E

    Session Undefined at TOracleDataset.Next

    Hello there, I've got this strange problem that occassionally this code throws a "session undefined" exception at the Next; statement: (MyDataSource.DataSet is of type TOracleDataset) With MyDataSource.DataSet do begin while not Eof do begin //Read data and store it in a StringGrid...
  2. E

    TOracleEvent.Stop never returns

    Hello, I'm using Oracle 10.2, Delphi7 and DOA 4.0.7.1 When I call the Stop method of a TOracleEvent object, the execution of the program just hangs and the call never returns. What is the problem here ? I need to stop the event when the application shuts down, because if I don't, the exe will...
  3. E

    Steps to destroy doa objects

    The ActiveX is the application I am developing. It has to be embedded into a customer application. What is wrong about the name ? I don't have any interfaced objects, just an activeX project with a couple of frames and the datamodule. About the Login(), that method just calls a cerain stored...
  4. E

    Steps to destroy doa objects

    Now I removed everything from the destructors and got this situation: ActiveX creates Datamodule (mDBMod) mDBMod := TOracle_Interface.Create(self, User, Password, Database); The constructor saves User Password and Database and calls Init() from the last post. No extra destructor is defined in...
  5. E

    Steps to destroy doa objects

    I know about that and double checked everything without success. The only thing I found is that the exception won't be thrown unless I called this method once during the lifetime of the application : procedure TOracle_Interface.Init(); begin try mSession.Connected := False...
  6. E

    Steps to destroy doa objects

    Additional info : In the debugger I see the exception is being triggered in System.pas in the Method procedure TObject.Free; begin if Self nil then Destroy; end; The error message says there were too many exceptions of type access violation to continue.
  7. E

    Steps to destroy doa objects

    Hello, in my application I have the problem that I always get an access violation when the program is closed by the user. After a long search I traced down the source of the problem to a TOracleSession object. As soon as I established a connection by setting Session.Connected := true - the...
  8. E

    DBGrid not updateable

    Never mind, I gave it up and use a string grid now instead, where I do everything manually. Sad, but I can't search for a solution to this for another 2 weeks. Thanks anyway.
  9. E

    DBGrid not updateable

    I've now got a workaround where I intercept KeyDown events on the grid and call a second stored procedure when 'enter' is pressed, but it feels really ugly and the user doesn't see what he types in the grid, because it does not allow edit mode. I'd really appreciate an example of how this is...
  10. E

    DBGrid not updateable

    There is no deptAPI in that folder. I've checked the other demos there like DeptGrid or PkgApply but none of them really helps me with my problem.
  11. E

    DBGrid not updateable

    The procedure I call returns some fields from the table tbl_dcids in a ref cursor, but not all. I don't see how it would be possible that the field names don't match because it's the same table I'm selecting from and updating to. Where can I find this demo project ?
  12. E

    DBGrid not updateable

    Which query are you refering to if you say the names of the updateable fields from the query ? I'm not really using any query on delphi side, I only call a stored procedure into a ref cursor TOracleQuery object and add that returned object as ExternalCursor to the dataset. All I do then is to...
  13. E

    DBGrid not updateable

    Hello there, First of all, I'm using DOA components 4.0.7.1 in combination with delphi 7. In my application I have a TDBGrid into which I want to load the resulting ref cursor data from a call to a stored procedure in an oracle database. This all works well, I call the procedure using a...
Back
Top