source code bug, please fix it

ibrahim bulutibrahim bulut turkey
edited 6:50PM in FastReport 3.0
i have found a bug in fr source code

when i try to change group header band's condition property in runtime,
i get error message

procedure TForm1.GroupSet(FieldName : String);
Var BB : TfrMemoView;
begin
BB:=TfrBandView(FRHESREC.FindObject('GroupHeader1'));
if (BB <> Nil) Then BB.Prop:='[Query1."' + FieldName + '"]';
end;


fr_class.pas
procedure TfrBandView.SetPropValue(Index: String; Value: Variant);
.
..
...
else if Index = 'CONDITION' then
begin
GroupCondition := Value;
if DocMode = dmPrinting then
Parent.GroupCondition := Value
end


it must be
GroupCondition := Value;
if (DocMode = dmPrinting) and (Parent <> Nil) Then Parent.GroupCondition:=Value

please change it original source code

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.