PDA

Ver la Versión Completa : Crystal Report 10...con delphi 7


dunia_lv
15-03-2005, 14:22:57
Hola:
Necesito saber como puedo integrar el crystal report 10 con el delphi 7...

Dunia LV

Aztaroth
19-05-2005, 22:46:30
Para empezar debes tener los componentes VCL de Crystal 10 para Delphi 7 despues de eso utilizas estas sentencias


//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.

locotenentul
24-05-2005, 03:28:25
No tengo la librerias VCL, espero que te llegue mi email.
Gracias