ReportBuilder com Intraweb

Delphi

20/07/2006

Por favor, estou desesperada. Não estou conseguindo gerar relatórios com reportbuilder no intraweb. Alguém por gentileza conhece o código? Tentei dessa forma, mas não deu certo.

var
arquivo: string;
Stream: TMemoryStream;
begin
arquivo:=WebApplication.AppID+´.pdf´;
stream:=TMemoryStream.create;


ReportBuilder.DeviceType := ´PDFFile´;
ReportBuilder.TextFileName := (´files\´+arquivo);
ReportBuilder.ShowPrintDialog := False;
ReportBuilder.Print;

AddToInitProc(´window.open(´/files/´+arquivo+´´,´´,´´);´);
stream.free;

Obrigada.
Obs: Utilizo Delphi 7 com intraweb 7.0.2 e mysql 5.0


Amanda

Amanda

Curtidas 0
POSTAR