Topic: problem with inserting or appending after delete.

If database has 3 records,

delete first or second record or not last record

and then append or insert record,

post or cancel operation is invalid.

record that appended or inserted is duplicated or cleared previous record positon's data.


1
2  <--- delete
3

1
3
?  <--- append

1
4  <--- duplicated
4  <--- new record

cause 3 record  in dataset memory data is lost.


1
2  <--- delete
3

1
?  <--- insert
3

4  <--- duplicated
4  <--- new
3

It's strange... neutral

It happens 3 or more records in dataset.

Last edited by parcel (2009-03-30 10:28:12)

Re: problem with inserting or appending after delete.

This is a very ugly bug.

As you can see, the components are not stable yet... sad

I try to quickly repair this.

Thanks Parcel

Re: problem with inserting or appending after delete.

This bug is corrected in upcoming 0.42 version (I plan the release for next week)

I had a hard time to catch it...
The Deleted records are now recycled to be re-used when the next insert or append occurs