Hi @All
I Ise Delphi 2009 and DOA 4.1.1.0.
I have a serious problem Closing a Toracledataset. I can close it once! After reopen and then try to close it a 'invalid pointer' Error will occur.
This is the Error from Delphi
[20ABACF2]{designide120.bpl} DesignEditors.TPropertyEditor.SetOrdValue (Line 838, "DesignEditors.pas" + 2) + $E
[20ABBDFB]{designide120.bpl} DesignEditors.TEnumProperty.SetValue (Line 1398, "DesignEditors.pas" + 5) +
[20ABA961]{designide120.bpl} DesignEditors.TPropertyEditor.Edit (Line 668, "DesignEditors.pas" + 11) +
[207ABC62]{coreide120.bpl} PropInsp.TPropertyInspector.PropListEditDblClick (Line 883, "PropInsp.pas" + 20) +
[20BA7451]{vclide120.bpl} IDEInspListBox.TInspListBox.DoEditDblClick (Line 976, "IDEInspListBox.pas" + 2) + $A
[20BA8C92]{vclide120.bpl} IDEInspListBox.TInspListBox.EditDblClick (Line 1546, "IDEInspListBox.pas" + 0) +
[501C5BE1]{vcl120.bpl } Controls.TControl.DblClick (Line 6763, "Controls.pas" + 1) +
[501C5D44]{vcl120.bpl } Controls.TControl.WMLButtonDblClk (Line 6806, "Controls.pas" + 4) + $C
[501C565A]{vcl120.bpl } Controls.TControl.WndProc (Line 6642, "Controls.pas" + 91) +
[501C9640]{vcl120.bpl } Controls.TWinControl.IsControlMouseMsg (Line 9129, "Controls.pas" + 9) +
[501C9CE7]{vcl120.bpl } Controls.TWinControl.WndProc (Line 9336, "Controls.pas" + 136) +
[20BA65F3]{vclide120.bpl} IDEInspListBox.TPropInspEdit.WndProc (Line 439, "IDEInspListBox.pas" + 7) +
[501C9400]{vcl120.bpl } Controls.TWinControl.MainWndProc (Line 9065, "Controls.pas" + 3) +
[500591DC]{rtl120.bpl } Classes.StdWndProc (Line 12703, "Classes.pas" + 8) +
[501EFC55]{vcl120.bpl } Forms.TApplication.StopHintTimer (Line 10390, "Forms.pas" + 3) +
[501EEABD]{vcl120.bpl } Forms.TApplication.ProcessMessage (Line 9660, "Forms.pas" + 30) +
[501EEB02]{vcl120.bpl } Forms.TApplication.HandleMessage (Line 9690, "Forms.pas" + 1) +
[501EEE2D]{vcl120.bpl } Forms.TApplication.Run (Line 9827, "Forms.pas" + 26) +
[004259E6]{bds.exe } bds.bds (Line 198, "" + 8) + $FFFB
[/code]
The SQL Statement in the dataset is
___SNIPPET___
When I change it to
___SNIPPET___
all works fine but now I can not insert or append records.
It looks like a problem with the rowid.
It is not an Oracle instance problem. The error also occurs on other databases.
What can I do to get the program run?
I Ise Delphi 2009 and DOA 4.1.1.0.
I have a serious problem Closing a Toracledataset. I can close it once! After reopen and then try to close it a 'invalid pointer' Error will occur.
This is the Error from Delphi
Code:
[1C60A5CD]{doa41d2009.bpl} Oracledata.TOracleDataSet.FreeRowId + D
[500041D2]{rtl120.bpl } System.ErrorAt (Line 4057, "System.pas" + 3) +
[1C60A5CD]{doa41d2009.bpl} Oracledata.TOracleDataSet.FreeRowId + D
[1C5F7571]{doa41d2009.bpl} Oracledata.TRecordDataList.FreeRecords +
[1C5F7125]{doa41d2009.bpl} Oracledata.TRecordDataList + $D
[50006C34]{rtl120.bpl } System.TObject.Free (Line 9829, "System.pas" + 1) +
[1C6088DC]{doa41d2009.bpl} Oracledata.TOracleDataSet.InternalClose +
[504943CE]{dbrtl120.bpl} DB.TDataSet.CloseCursor (Line 10649, "DB.pas" + 6) +
[50494297]{dbrtl120.bpl} DB.TDataSet.SetActive (Line 10601, "DB.pas" + 21) +
[1C5F9F89]{doa41d2009.bpl} Oracledata.TOracleDataSet.InternalSetActive + $F9
[5003FC4E]{rtl120.bpl } TypInfo.SetOrdProp (Line 1506, "TypInfo.pas" + 31) +
[code]
select a.*, a.rowid from HD_Timeseries_Values a where a.TS_ID=:TSID
[20ABACF2]{designide120.bpl} DesignEditors.TPropertyEditor.SetOrdValue (Line 838, "DesignEditors.pas" + 2) + $E
[20ABBDFB]{designide120.bpl} DesignEditors.TEnumProperty.SetValue (Line 1398, "DesignEditors.pas" + 5) +
[20ABA961]{designide120.bpl} DesignEditors.TPropertyEditor.Edit (Line 668, "DesignEditors.pas" + 11) +
[207ABC62]{coreide120.bpl} PropInsp.TPropertyInspector.PropListEditDblClick (Line 883, "PropInsp.pas" + 20) +
[20BA7451]{vclide120.bpl} IDEInspListBox.TInspListBox.DoEditDblClick (Line 976, "IDEInspListBox.pas" + 2) + $A
[20BA8C92]{vclide120.bpl} IDEInspListBox.TInspListBox.EditDblClick (Line 1546, "IDEInspListBox.pas" + 0) +
[501C5BE1]{vcl120.bpl } Controls.TControl.DblClick (Line 6763, "Controls.pas" + 1) +
[501C5D44]{vcl120.bpl } Controls.TControl.WMLButtonDblClk (Line 6806, "Controls.pas" + 4) + $C
[501C565A]{vcl120.bpl } Controls.TControl.WndProc (Line 6642, "Controls.pas" + 91) +
[501C9640]{vcl120.bpl } Controls.TWinControl.IsControlMouseMsg (Line 9129, "Controls.pas" + 9) +
[501C9CE7]{vcl120.bpl } Controls.TWinControl.WndProc (Line 9336, "Controls.pas" + 136) +
[20BA65F3]{vclide120.bpl} IDEInspListBox.TPropInspEdit.WndProc (Line 439, "IDEInspListBox.pas" + 7) +
[501C9400]{vcl120.bpl } Controls.TWinControl.MainWndProc (Line 9065, "Controls.pas" + 3) +
[500591DC]{rtl120.bpl } Classes.StdWndProc (Line 12703, "Classes.pas" + 8) +
Code:
select a.* from HD_Timeseries_Values a where a.TS_ID=:TSID
[501EFC55]{vcl120.bpl } Forms.TApplication.StopHintTimer (Line 10390, "Forms.pas" + 3) +
[501EEABD]{vcl120.bpl } Forms.TApplication.ProcessMessage (Line 9660, "Forms.pas" + 30) +
[501EEB02]{vcl120.bpl } Forms.TApplication.HandleMessage (Line 9690, "Forms.pas" + 1) +
[501EEE2D]{vcl120.bpl } Forms.TApplication.Run (Line 9827, "Forms.pas" + 26) +
[004259E6]{bds.exe } bds.bds (Line 198, "" + 8) + $FFFB
[/code]
The SQL Statement in the dataset is
___SNIPPET___
When I change it to
___SNIPPET___
all works fine but now I can not insert or append records.

It looks like a problem with the rowid.
It is not an Oracle instance problem. The error also occurs on other databases.
What can I do to get the program run?