Ignore:
Timestamp:
Mar 17, 2015, 12:09:11 AM (10 years ago)
Author:
chronos
Message:
  • Modified: Now records are loaded from SQL database using SQL query. The query is parsed also by XML database client to load records from XML file.
  • Added: Packages Network and Synapse.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormTables.pas

    r11 r13  
    7777  with TTable(Database.Tables[Item.Index]) do begin
    7878    Item.Caption := Caption;
    79     Item.SubItems.Add(IntToStr(Records.Count));
     79    Item.SubItems.Add(IntToStr(RecordsCount));
    8080    Item.Data := Database.Tables[Item.Index];
    8181  end
     
    215215
    216216procedure TFormTables.ReloadList;
    217 begin
     217var
     218  I: Integer;
     219begin
     220  for I := 0 to Database.Tables.Count - 1 do
     221    TTable(Database.Tables[I]).LoadRecordsCount;
    218222  if Assigned(Database) then begin
    219223    ListView1.Items.Count := Database.Tables.Count;
Note: See TracChangeset for help on using the changeset viewer.