Quantcast
Channel: Embarcadero Community - Embarcadero Community
Viewing all articles
Browse latest Browse all 1963

C++ Builder - TPacketDataSet - Delta - Persist NULL value to database.

$
0
0

Using TPacketDataSet delta to write cached updates to ISAM database record. Using Modified Record pair,  The second delta record marked usModified holds every field, with the unmodified fields carrying NULL as the NewValue. Question:  How can I determine which fields carry NULL value because they were deliberately changed to NULL, and which fields are NULL because they wern't changed? Simply writing NewValue to the persistence layer would result in clearing all field values which were not changed. Al.  


Viewing all articles
Browse latest Browse all 1963

Trending Articles