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

Problem Printing from a XML File

edited April 2003 in General
Delphi 6EntSP2, RB6.03

I'm printing from a TppDBPipeline, that gets is data from a TDataSource.
This DataSource gets its data from a TClientDataSet.
This Client Dataset point to a local XML File.

The program that prints the report works fine on most of the computers, but
on a few machines, completelly the same program, Same OS (W2kSP3) the
program starts printing hundreds of pages, we log the OnPageStart &
OnPageEnd, these methods are called each time, but in the XML file there is
only 1 record !!

Anybody has seen this behaviour before ??

--
Harry Leboeuf
Email Inversed moc.silopenik@fueobelh (For Spam-Reason)
Visit us at http://www.kinepolis.com

Comments

  • edited April 2003
    Harry,

    Be sure the report is connected to the datapipeline by selecting the report
    | data menu option in the report designer.

    Hook the datasource to a DBGrid on the form to verify you have data at
    runtime. If none of this helps, please send an example to
    support@digital-metaphors.com and we'll take a look.


    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited April 2003
    Ihad on some of these machines even other problems with XML,
    I've left this file type and for the report i'm using the good old JIT.

    Works fine now
This discussion has been closed.