problem with checkbox in fastreport 4.9.35 in delphi7

edited 7:19AM in FastReport .NET
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 :
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

  • edited July 2013
    Did you check for open datasource and valid data?

    By the way - you are in the wrong forum. This here is for FR .Net

Leave a Comment