Ver Mensaje Individual
  #2  
Antiguo 19-05-2005
Aztaroth Aztaroth is offline
Miembro
 
Registrado: dic 2003
Ubicación: Matamoros
Posts: 52
Reputación: 21
Aztaroth Va por buen camino
Usar Crystal 10 con Delphi 7

Para empezar debes tener los componentes VCL de Crystal 10 para Delphi 7 despues de eso utilizas estas sentencias

Código Delphi [-]
     //Assign a report file to the component
      plateReportCR.ReportName := ExtractFileDir(Application.ExeName) + '\poPlateReport.rpt';

    // Assign a MDIParent to make it MDIChild
      plateReportCR.WindowParent := mainForm;
   
  // Assign a value to the parameter
      plateReportCR.ParamFields.Items[0].CurrentValue := IntToStr(orden);

  // Assign a report title when the Report is MDIChild if not is MDIChild use
  // plateReportCr.ReportTitle := 'ReportTitle';
      plateReportCR.WindowStyle.Title := 'Plate Purchase Order # ' + IntToStr(orden);

  //Execute the Report
      plateReportCR.Execute;

P.D.
Si no tienes los vcl echame un correo, y vemos que podemos hacer.


Espero te sirva de algo.
Responder Con Cita