TDbf Insert and Edit lazarus / 16-Databases ---------------------------------------------------------------------- heromed · 2016-02-24 19:39 I have a simple TDbf file with no indexes. The first Insert....Post works. The second fails with the message "dataset not in an edit or insert state ? Misterious ! ---------------------------------------------------------------------- engkin · 2016-02-24 19:44 Try Append instead of Insert. ---------------------------------------------------------------------- heromed · 2016-02-24 20:11 I 've already tried that. Append fails on the first time. The only way I could get around it is that I have closed then opened the file. But it sill fails the insert after an Edit. ---------------------------------------------------------------------- heromed · 2016-02-24 20:44 I've found a workaround. I had an ftMemo field in the Table and after I changed it to ftString, it worked OK