Changeset 17 for trunk/USystem.pas


Ignore:
Timestamp:
Jun 13, 2011, 2:35:01 PM (13 years ago)
Author:
george
Message:
  • Fixed: Loading content of RelationMany sublist in item view.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/USystem.pas

    r16 r17  
    77uses
    88  Classes, SysUtils, SpecializedList, SpecializedDictionary, USqlDatabase,
    9   Strings, UDataTypes;
     9  Strings, UDataTypes, Dialogs;
    1010
    1111const
     
    207207      for I := 0 to Values.Count - 1 do begin
    208208        NewItem := TReportLine.Create;
    209         NewItem.Items.Add(Values[I].Values[Obj.PrimaryKey]);
     209        //NewItem.Items.Add(Values[I].Values[Obj.PrimaryKey]);
    210210        NewItem.Id := StrToInt(Values[I].Values[Obj.PrimaryKey]);
    211         for C := 0 to Properties.Count - 1 do
     211        for C := 0 to Columns.Count - 1 do
    212212        if not TReportColumn(Columns[C]).VirtualItem then begin
    213213          NewItem.Items.Add(Values[I].Values[TReportColumn(Columns[C]).ColumnName]);
Note: See TracChangeset for help on using the changeset viewer.