FR Enterprise's Group Condition Can't work

edited May 2005 in FastReport 3.0
Version: FR Enterprise Version

Report group condition write with script work fine in standalone PC.

But this report move to report server, the group condition can't work.

Script as below:
procedure Page1OnbeforePrint(Sender: TfrxComponent);
var
 ? l_order : string;
begin
 ? GroupHeader1.Visible := CheckBox1.checked;
 ? GroupFooter1.Visible := CheckBox1.checked;
 ? Case ComboBox1.ItemIndex of
 ?  ?  0: l_order := ' Order By field0';
 ?  ?  1: l_order := ' Order By field1';
 ?  ?  2: l_order := ' Order By field2';
 ?  ?  3: l_order := ' Order By field3';
 ? end;
 ? ADOQuery1.SQL.Text := ADOQuery1.SQL.Text + l_order;
 ? Case ComboBox1.ItemIndex of
 ?  ?  0: GroupHeader1.Condition := 'ADOQuery1."field0"';
 ?  ?  1: GroupHeader1.Condition := 'ADOQuery1."field1"';
 ?  ?  2: GroupHeader1.Condition := 'ADOQuery1."field2"';
 ?  ?  3: GroupHeader1.Condition := 'ADOQuery1."field3"';
 ? end;
end;

Comments

  • edited 2:59AM
    You can't use such script in server mode, because ComboBox is not supported.
  • edited 2:59AM
    AlexTZ wrote:
    You can't use such script in server mode, because ComboBox is not supported.
    When to support ?
  • edited 2:59AM
    It can't be supported at all.

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.