dataset is not in insert or edit mode | DBgrid lazarus / 16-Databases ---------------------------------------------------------------------- cpalx · 2018-11-02 23:00 Hello, i have a dbgrid, bufdataset and Dataset, i insert (append) elements to the bufdatset and display in the dbgrid. All Ok, but when i make a click or doble click to the DBgrid show a error: "dataset is not in insert or edit mode". And it is obviosly, but how can i solve that problem? Lazarus 1.8.4 FPC 3.04 Windows 7/10 ---------------------------------------------------------------------- lucamar · 2018-11-02 23:32 Have you set AutoEdit to True for the DBGrid? ---------------------------------------------------------------------- cpalx · 2018-11-02 23:39 Autoedit is in False ---------------------------------------------------------------------- lucamar · 2018-11-02 23:50 Well, try setting it to True It's not the only (neither, probably, the best) solution, but it's the easiest. ---------------------------------------------------------------------- cpalx · 2018-11-03 20:47 works... thanks