Ignore:
Timestamp:
Nov 16, 2012, 10:39:39 AM (12 years ago)
Author:
chronos
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormList.pas

    r56 r60  
    277277    Filter := Filter + ', `' + Name + '`';
    278278  end;
    279   Core.Database.Query(DbRows, 'SELECT ' + Filter + ' FROM ' + View.Name);
     279  if Core.Database.Connected then
     280    Core.Database.Query(DbRows, 'SELECT ' + Filter + ' FROM ' + View.Name);
    280281
    281282  ListView1.Items.Count := DbRows.Count;
Note: See TracChangeset for help on using the changeset viewer.