Jump to content

TUniDBVerticalGrid does not display data from a new row


asapltda

Recommended Posts

Good morning, I am trying to use TUniDBVerticalGrid, but when creating a new record the data of the new record is not displayed in the verticalGrid, it is an error or it can only display previously existing data, the dbverticalgrid is embedded in a frame. If the record previously exists the existing data if displayed

Link to comment
Share on other sites

  • 1 month later...
  • 5 weeks later...

ALTERNATE SOLUTION

1. FDQUERY --CachedUpdates:=True;

2. if FDQUERY.IsEmpty  then begin
     FDQUERY.Append;
     FDQUERY.FieldByName('FieldName').AsString  :=  x_value;

    FDQUERY.POST;
  end;

3.        FDQUERY.ApplyUpdates(0) ;

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...