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

Terminal Font in Report

edited February 2003 in General
Hello All:


We use Reportbuilder 6.03 in Delphi 5.

Our app pulls credit bureaus. The credit bureau is pulled into a TMemo
control set to Terminal font.

The text in the control is nicely formatted in the TMemo.

The text does not hold its format/alignment in ReportBuilder. What we
did was assign the Memo.lines one line at a time to a ppMemo component with
its font set to Terminal. Each line is in the ppMemo in the report, but the
alignment of columns is messed up.

It is as if perhaps the Memo component in Delphi respects some kind of
tabs to align the report output, but the ppMemo does not.

We tried to play with a Richtext component, but that component does not
list a terminal font ( same computer ) and the Terminal font has to be used
for the formatting.

If we print the Bureau 1 line at a time without reportbuilder, the
formatting prints correctly.

How can we fix the ReportBuilder Report so formatting is respected ???


Neil Huhta
Profit Monster Data Systems LLC

Comments

  • edited February 2003

    The TppMemo supports tabs, but only for indenting from the left, not for
    columns.

    If you want to build columns use a separate memo for each column or use a
    subreport connected to a JITPipeline, the JITPipeline can provide the data,
    the subreport can contain DBText in the detail band and print the desired
    columns that way.



    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited March 2003
    Nard:

    That wont work. I'm given the data line by line. Parsing the data and
    breaking it out is not practical. The format is not known to us and would
    take tremendous time.

    What else can we do ??? Is there another control that we can use ??? can
    we use labels and create them dynamically ???


    Neil Huhta
  • edited March 2003
    Nard:

    For now I have solved this by using the TPrinter object and a textfile.

    Is there a way to accomplish this using reportbuilder ??? Thank you.


    Neil Huhta
  • edited March 2003

    Other than the suggestions that I made previously I do not have many ideas.
    Perhaps you can use RichText with another font, other than terminal? If the
    columnar data is separated by tabs or spaces, etc. then I would think that
    writing code to parse each line would be possible?



    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.