Jump to content

UniDBGrid prevents append on create


M.Ammar

Recommended Posts

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...