Paul,
I have this update (although I don't remember it). Actually, the problem doesn't occur until the data behavior class (cdatabehavior) tries to save. In it's Save method there is code that checks to see if the cursor is table buffered. If so, it scans through all records, checks to see if the record is being added, and if so uses SETFLDSTATE() on it's primary key to set it to a 4 (new and modified). In my case, when the first SETFLDSTATE() is issued, my cursor (view) becomes corrupted.
Any ideas?
>>>>Can anyone give me any ideas why my table buffered view is getting corrupted when I issue a SETFIELDSTATE("myid", 4)?
>
> Didn't Kevin post an update to his code here because of this problem? I'mn ot sure that this change has made it into any of the publically released versions of MM. I (think) the new code is a REPLACE (lcPrimaryKey) WITH EVAL(lcDefaultValue) right before the SETFLDSTATE() command (in the OnNew() method).
Doug Stalter
"According to the proverb, the best things are the most difficult." -Plutarch