Home General

Problems using ppTextPipeline

edited August 2001 in General
Hi, I'm having some trouble in an application using an ppTextPipeline. The
text file have fixed lenght, and
the problem is that each time there's a comma (,) in the text file, the
report is not correctly created, and the text is showed in wrong places.
If someone can help me understanding why that happens and what can I do to
fix it, I'll really appreciate.
Thank you for you attention.

Gustavo U. Kemmerich

Comments

  • edited August 2001
    Obs. I'm using Report Builder 4.2 in Delphi3...

    Gustavo U. Kemmerich


  • edited August 2001

    When using the TextPipeline you must specify the max length for each
    field in the record. These are summed to provide a max record length.
    Check the nodatabase examples in RBuilder\Demos\Reports\Demo.dpr

    If possible, please try testing with RB 6.01 - the latest release for
    D4, D5, D6.

    If you would like to create a simple Delphi project that contains a
    report created with the text file. Zip and send to
    support@digital-metaphors.com and we can check it out here.



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited August 2001
    I had already defined the size of each field, and most of times, it works
    correctly. But if the data in the field contains comma(,), everything
    doesn't work, and the data appears in wrong place in the report. Why does
    that happen? Is there anything I can do to make it work correctly even if
    there's comma in the fields' data?
    Thanks for your attention.

    Gustavo U. Kemmerich

  • edited August 2001
    I'm not sure if this exists and if so if it is something that you can do.
    See if you can change the CustomDelimiter for the text pipeline to some
    other character than a comma. You will then have to modify your program to
    use the new delimiter when it creates the text file.

    --
    Jeff Kreider

  • edited August 2001
    I had already tried that, and it doesn't work. :(
    But thanks anyway.

    Gustavo U. Kemmerich

This discussion has been closed.