Problems using ppTextPipeline
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
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
This discussion has been closed.
Comments
Gustavo U. Kemmerich
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
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
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
But thanks anyway.
Gustavo U. Kemmerich