数据缓冲区状态由UpdatesPending指定: (请好好看Help文档,相关的还有:Working with cached updates 主题,有详细描述)Indicates whether the cached updates buffer contains records that are not yet applied.property UpdatesPending: Boolean;DescriptionExamine UpdatesPending to check the status of the cached updates buffer. If UpdatesPending is True, then there are edited, deleted, or inserted records to apply to the database. If UpdatesPending is False, there are no records in the cache.
在beforeedit&beforeInsert中设enabled
(请好好看Help文档,相关的还有:Working with cached updates 主题,有详细描述)Indicates whether the cached updates buffer contains records that are not yet applied.property UpdatesPending: Boolean;DescriptionExamine UpdatesPending to check the status of the cached updates buffer. If UpdatesPending is True, then there are edited, deleted, or inserted records to apply to the database. If UpdatesPending is False, there are no records in the cache.