Skip to main content
simply more productive

The Data Specialist

Thanks to our intuitive transformation designer, you can convert data effortlessly to a variety of formats without knowing how to program. It’s not only efficient, it’s also easy to use.
Flowheater Download

append records to a text file

More
12 years 2 weeks ago #2225 by Gennaro
append records to a text file was created by Gennaro
Hi,
I was wondering if ther is a way to append records (or to identify the first available empty row) of a text file.

In fact, i have to write the data into a flat text file with a structure " header detail trailer records" (each record wth own specific fileds) so, I am using 3 different flowheater definition, and then, i manually merge all the single text files. So,I would to automate this final step if it possible...

Please Log in to join the conversation.

More
12 years 2 weeks ago #2226 by FlowHeater-Team
Replied by FlowHeater-Team on topic Re:append records to a text file
The TextFile Adapter supports appending data to text files. You have only to activate the "Append to file" option in the TextFile Adapter Configurator (first tab). Currently if FlowHeater appends data to an existing file no header lines are written :-(

You can download here a quick modification. With this (beta) version it is possible to add data to existing text (CSV) files including the header (field names) information.

To use this you have to set the NEW TextFile Adapter property "AppendHeaderAlways" to TRUE. Hereby FlowHeater writes always the header (field names) to an existing file.

Best wishes
Robert Stark

Did this answer your question? We would be grateful if you provide a brief comment as feedback. It may also help others who may have encountered a similar problem.

Please Log in to join the conversation.

Time to create page: 0.305 seconds

FlowHeater - The Data Specialist

Efficient data integration and transformation with FlowHeater – the perfect solution for a seamless transfer of your data.

Rechtliches

Support & Contact

Kontaktinformation

Telefon:0951 / 99339792 E-Mail:This email address is being protected from spambots. You need JavaScript enabled to view it.

Copyright © 2009-2024 by FlowHeater GmbH. All rights reserved.