main logo
Subject: Re: saving nulls
Author: Ed Leafe
Posted: 2002/04/01 13:54:14
 
View Entire Thread
New Search


<i><font color="#663300">Has there been a fix to the Memento class so fields that are changed from null to a value are saved? Currently, if a person puts a value in the field that is originally null, the record does not save.</font></i>

Where does it fail? Are you sure that the Memento's is not correctly setting its lIsChanged property when CompareState() is called? I just reviewed the code, and it seems that if the original value is null and the new value is not null, it will be marked as changed.
<font color="#cc0000"> ___/
/
__/
/
____/</font>
Ed Leafe
 
©2002 Ed Leafe
<-- Prior Message New Search Next Message -->