Dynamic data import / export

datenbank

simply more productive
Up to 10,000 records can be processed with the freeware version!
Welcome, Guest
Username: Password: Remember me
Welcome to the FlowHeater support forum.

Questions about using FlowHeater are answered here.

TOPIC: append records to a text file

append records to a text file 4 years 8 months ago #2225

  • Gennaro
  • Gennaro's Avatar
  • Offline
  • Junior Member
  • Posts: 25
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...
The administrator has disabled public write access.

Re:append records to a text file 4 years 8 months ago #2226

  • FlowHeater-Team
  • FlowHeater-Team's Avatar
  • Offline
  • Administrator
  • Posts: 240
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.
The administrator has disabled public write access.
Moderators: FlowHeater-Team
Time to create page: 0.075 seconds