Problem when I modify data in OnGetData of the TOracleProvider

sparis

Member
Do someone can try the DOA 3Tier demo with the following changes?

On the server:
- Add column 0 Test to the SELECT statement of DeptDataSet.
- In the OnGetData event of DeptProvider use this code:
Code:
DataSet.First;
  while not DataSet.EOF do
  begin
     Randomize;
     DataSet.Edit;
     DataSet.FieldByName('TEST').Value := Random(100);
     DataSet.Next;
  end;
[/i]
- Build the projet.

Connect you with the Client application and you will obtain 'Operation not applicabale' error. (It's what I have.)

If you replace all the DOA components by Delphi's original (TDataBase, TProvider and TQuery), no error occures.

BUG???

Excuse my english...
smile.gif
 
Back
Top