Hi Peter,
I did some testing with your code and found that if the 'noupdate' clause of the 'use cdxbug' statement was removed, the cdx was updated as expected generating a primary key error on the second iteration. So I'm curious about the true nature of the bug. Why did you use the noupdate clause and then try an update? Do you think that the noupdate clause is the real bug?
Just a curious fellow developer.<s>
Kendall Webb
Senior Software Engineer
MCAD.Net/MCSD.Net