Ver Mensaje Individual
  #3  
Antiguo 14-12-2010
Avatar de rgstuamigo
rgstuamigo rgstuamigo is offline
Miembro
 
Registrado: jul 2008
Ubicación: Santa Cruz de la Sierra-Bolivia
Posts: 1.646
Reputación: 19
rgstuamigo Va por buen camino
Arrow

Otra opcion que veo también es que utilices el evento BeforePrint( antes de imprimir la banda) de tu banda Detail y poner un código como éste:
Código Delphi [-]
procedure TForm1.DetailBand1BeforePrint(Sender: TQRCustomBand;var PrintBand: Boolean);
begin
  if TieneDatosElCampoXXX then // si hay datos en mi campo XXX entonces
   DetailBand1.Height:=44      //modifico la altura de la banda detalle un poco mas alta
  else DetailBand1.Height:=24; // si no le pongo una altura mas pequeña.
end;
Saludos...
__________________
"Pedid, y se os dará; buscad, y hallaréis; llamad, y se os abrirá." Mt.7:7
Responder Con Cita