Ver Mensaje Individual
  #2  
Antiguo 19-04-2007
Avatar de Caral
[Caral] Caral is offline
Miembro Premium
 
Registrado: ago 2006
Posts: 7.659
Reputación: 26
Caral Va por buen camino
Hola
A la primera pregunta:
Código Delphi [-]
procedure TForm1.Button1Click(Sender: TObject);
begin
  QReport1:=TQReport1.Create(self);
   try
   QReport1.ADOQuery1.Open; // abre el query que contiene los datos
   QReport1.Preview;
     finally
   QReport1.Free;
   end;
end;
Bueno con esto abres el reporte para impresion.
Saludos
Responder Con Cita