Recent content by Brooks

  1. B

    OracleSession1.CommitUpdates not working

    I have tried this with success as follows but what is the difference between method #1 and #2? Method #1: procedure ApplyUpdatesAfterPost(DataSet: TDataSet); begin with DataSet as TOraclewwDataSet do begin try Session.ApplyUpdates([DataSet], False); Session.Commit...
  2. B

    OracleSession1.CommitUpdates not working

    So where do you suggest I put what code? I finally got the record changes to post to the database. I put the following in a AfterPost Event. I use this same event for the AfterDelete event as well. How can I do things better? -Brooks procedure TfrmMain.ApplyUpdatesAfterPost(DataSet...
  3. B

    OracleSession1.CommitUpdates not working

    What am I doing wrong that my changes are not getting written back to the database? procedure TfrmMain.wwDSMediaGrpBeforePost(DataSet: TDataSet); begin try OraSession1.CommitUpdates([wwDSMediaGrp]); except OraSession1.Rollback; raise; end; end; procedure...
  4. B

    TOracleSession and AutoCommit desupport

    So how do we commit our changes? I am using the following with no success. When I quit the app and look at the same record, no changes were saved. What Event should this belong to? Why is it not committing/posting the changes? procedure TfrmMain.wwDSMediaGroupBeforePost(DataSet: TDataSet)...
Back
Top