Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

I can't print selected pages

edited March 2002 in General
D5, RB 6.03, and ppprod + ppprintr.

I don't know what i'm doing wrong. In runtime form the preview tabsheet of
the report designer, if i select some pages to print, this pages are printed
and not all pages. From my application if i select some pages, then all
pages are allways printed. I don't know where can i look at to know what is
happening with all the reports that overrite this property after the print
dialog is closed ( i supouse ).

--
Jes?s Angel Garc?a Zarco
Cointec

Comments

  • edited March 2002
    Ok i have seen where is the problem but i think is a bug. In the event of
    before print of each report i load from my database i do the

    procedure TfInformeReport.ppInformeBeforePrint(Sender: TObject);
    begin
    ppInforme.PrinterSetup.DocumentName := InformeActual + ' ' + FDocumento;

    if( AsignarNombresArchivo )then begin
    ppInforme.TextFileName := FDocumento;
    ppInforme.ArchiveFileName := FDocumento;
    end;

    end;

    if i remove this lines then everithing is printed ok

    --
    Jes?s Angel Garc?a Zarco
    Cointec

    "Jesus Garcia Zarco(Cointec)" escribi? en el mensaje
This discussion has been closed.