TSQLQuery error lazarus / 16-Databases ---------------------------------------------------------------------- xinyiman · 2011-06-16 06:02 operation not allowed, dataset "Q_Gradi" is not in an edit or insert state how do I change the query type? I want to make any changes or insertions. ---------------------------------------------------------------------- Lacak2 · 2011-06-16 13:31 I am not sure if I understand your problem? What happens if you use before: Q_Gradi.Edit; or Q_Gradi.Append; ? ---------------------------------------------------------------------- xinyiman · 2011-06-16 15:28 I used Q_gradi.Post without using Q_Gradi.insert! Sorry I made a mistake.