Ver Mensaje Individual
  #2  
Antiguo 03-10-2005
Avatar de droguerman
droguerman droguerman is offline
Miembro
 
Registrado: abr 2005
Ubicación: tierra
Posts: 999
Reputación: 20
droguerman Va por buen camino
seguro que existe una mejor forma, pero podrias intentar esto, añade una banda hija al qrGroup (hasChild=true) inicialmente a con enabled = false, y le cambias el tamaño para que simule q imprimiste los otros dos detalles, el codigo seria aproximadamente así:
Código Delphi [-]
 procedure TForm1.QRGroup1BeforePrint(Sender: TQRCustomBand;
   var PrintBand: Boolean);
 begin
   bandaHijo.enabled := false;
   bandaHijo.Height := 40*(3-datasetDetalle.recordCount);
   bandaHijo.enabled := datasetDetalle.recordCount<>3;
 end;
Responder Con Cita