Ver Mensaje Individual
  #7  
Antiguo 07-12-2015
Avatar de JoAnCa
JoAnCa JoAnCa is offline
Miembro
 
Registrado: jul 2005
Ubicación: Cuba
Posts: 435
Reputación: 19
JoAnCa Va por buen camino
Muchas gracias, tendre en cuenta tu sugerencia, aunque resolvi con este codigo q me ayudo Egostar


Código Delphi [-]
procedure TModuloReport.frIndicadoresBeforePrint(Sender: TfrxReportComponent);
var
  Plan, Real  :TfrxMemoView;
  Fila        :Integer;
 
begin
  Fila := frdsIndicadores.DataSet.FieldByName('Fila').AsInteger;
  Plan := frIndicadores.FindObject('frdsCertificoPlan') as TfrxMemoView;
  Real := frIndicadores.FindObject('frdsCertificoReal') as TfrxMemoView;
  if Fila = 10 then
    begin
      Plan.DisplayFormat.FormatStr:='0.0000';
      Real.DisplayFormat.FormatStr:='0.0000';
    end
  else
    begin
      Plan.DisplayFormat.FormatStr:='#,##0.00';
      Real.DisplayFormat.FormatStr:='#,##0.00';
    end;
end;
__________________
La hora de acción no es hora de aprender, es necesario haber aprendido antes
Responder Con Cita