Ignore:
Timestamp:
Mar 26, 2018, 11:37:46 PM (7 years ago)
Author:
chronos
Message:
  • Modified: Improved handling of SQL commands by XML backend.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormTables.pas

    r23 r24  
    131131    if FormTable.ShowModal = mrOk then begin
    132132      FormTable.Save(TTable(ListView1.Selected.Data));
    133       DbClient.Query('UPDATE Model SET Name = ' + TTable(ListView1.Selected.Data).Name);
     133      DbClient.Query('UPDATE Model SET Caption = ' + TTable(ListView1.Selected.Data).Caption + ' WHERE Name = ' + TTable(ListView1.Selected.Data).Name);
    134134      ReloadList;
    135135    end;
Note: See TracChangeset for help on using the changeset viewer.