M.Ammar Posted December 20, 2018 Share Posted December 20, 2018 Hi when I try to append ( On frame/form create) to a dataset that is connected to unidbGrid the operation is canceled somehow, knowing that appending after the form is created is working fine, as a workaround, I have to do it like that, procedure Tfra.UniFrameCreate(Sender: TObject); Begin UniDBGrid1.DataSource := Nil; FDQuery1.Append; End; and then re-attach the uniDbgrid after post, but it has to be a better way to do this thanks Quote Link to comment Share on other sites More sharing options...
GerhardV Posted December 26, 2018 Share Posted December 26, 2018 Try appending on the OnReady event instead of OnCreate. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.