FlowHeater Demo Video
 
FlowHeater - The Data Import / Export Specialist
 
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: append records to a text file

append records to a text file 6 years 7 months ago #2225

  • Gennaro
  • Gennaro's Avatar Topic Author
  • Offline
  • Posts: 27
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 or Create an account to join the conversation.

Re:append records to a text file 6 years 7 months ago #2226

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 or Create an account to join the conversation.

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.
  • Page:
  • 1

other Languages

en
GB | US

de
DE | AT | CH

FlowHeater Home

de en

Imprint/Contact

Privacy Statement

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

Follow us on

twitter  facebook

YouTube

 de en