Good morning all
I have an error message during execution ( compile OK )
dataset error, not in insert or edit mode
I tried with Append and insert
i still have an error
According to you or am I wrong?
Thank for Help
My Code
lignesDeSaisie = Tdbf
On button command
Juste this
Try
lignesDeSaisie.Append;
/////lignesDeSaisie.Insert;
lignesDeSaisie.FieldByName('compte').AsString := Form1.Xcomptes.FieldByName('compte').AsString;
lignesDeSaisie.FieldByName('label').AsString := Form1.Xcomptes.FieldByName('label').AsString;
lignesDeSaisie.Post;
finally
end;