Ver Mensaje Individual
  #2  
Antiguo 17-12-2009
Avatar de Aleca
Aleca Aleca is offline
Miembro
 
Registrado: may 2003
Ubicación: Venado Tuerto, Argentina
Posts: 277
Reputación: 22
Aleca Va por buen camino
Código Delphi [-]
procedure TForm1.QRBand1BeforePrint(Sender: TQRCustomBand; var PrintBand: Boolean);
begin
  if QRDBText2.DataSet.FieldByName('NBRE_CAMPO').IsNull then
    QRDBText2.Height := 0;
  
  if QRDBText3.DataSet.FieldByName('NBRE_CAMPO').IsNull then
    QRDBText3.Height := 0
  else
    if QRDBText2.Height = 0 then
      QRDBText3.Top := QRDBText2.Top;
 
  QrBand1.Height := qrdbtext1.Height + qrdbtext2.Height + qrdbtext3.Height;
end;

espero q funcione, no lo alcance a probar.
__________________
Aleca
Responder Con Cita