problem with checkbox in fastreport 4.9.35 in delphi7
hi
i want to report from my data.
there is a field that is detail is 11 or 12 .
i want to show that field data with check box in fast but check box in fast just support 0 or 1 .
so in code i wrote this code :
i want to report from my data.
there is a field that is detail is 11 or 12 .
i want to show that field data with check box in fast but check box in fast just support 0 or 1 .
so in code i wrote this code :
procedure MasterData1OnBeforePrint(Sender: TfrxComponent);Â Â
  var i:integer;
           Â
begin                         Â
        if <frxDBDatasetInsurPast."TP_FType"> ='11' then                                                       Â
            CheckBox1.Checked:=true;   Â
      if <frxDBDatasetInsurPast."TP_FType"> = '12' then                 Â
            CheckBox1.Checked:=false;                             Â
end;
but it does not work .
Comments
By the way - you are in the wrong forum. This here is for FR .Net