TDBPlanner 3.003
I cannot immediately see a reason for this.
What exactly in the items are you changing? Do you have a sample with which we can reproduce this problem here?
OK I resolved this by setting TDBDaySource.UpdateByQuery = True. Which is odd since I thought that option was for doing the updates yourself using SQL instead of using the internal DB features. I want to use the internal DB features not SQL.
Some more relevant information. I did have commented code in TDBDaySource.OnUpdateItem. When I removed that commented code completely updates work fine with TDBDaySource.UpdateByQuery = False.
By default , using DBDaySource.OnUpdateItem is treated as application level code that is updating the DB. If you do not actually update the DB from this event, it won't get updated (unless you set UpdateByQuery = false)
That's not what I'm seeing though. If there is anything in the event, even a single placeholder comment, the DB won't get updated when UpdateByQuery = false.
Sorry, I overlooked it, when OnUpdateItem event handler is assigned but you still want TDBDaySource to write the changes to the DB, you need to set UpdateByQuery = true