Dynamic data import / export

datenbank

simply more productive
Up to 100,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.
  • Page:
  • 1

TOPIC: Output file names - can I add date/time ?

Output file names - can I add date/time ? 6 months 1 week ago #3183

  • Ken Starnes
  • Ken Starnes's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 8
Rather than the default name given to a CSV/TXT output I'd like to put in some default text and then append the run date and time.

I guess it's easy when you know how but it's not obvious.

Thanks

Please Log in or Create an account to join the conversation.

Output file names - can I add date/time ? 6 months 1 week ago #3184

  • FlowHeater-Team
  • FlowHeater-Team's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 275
Hi Ken,

Yes of course. For example you can use FlowHeater Parameter or system envirnonement varaibles as part of the output CSV file name.

e.g.: %TEMP%\output_$DATETIME$.csv

In this case %TEMP% are dynamically replaced with the value of the system environemnt variable TEMP and $DATETIME$ are replaced with the current value of the FlowHeater Parameter “DATETIME”.

In the Definition you have to set and format the Parameter “DATETIME” by yourself. To do this you need one Now Heater to retrive the current date and time, one String Format Heater to set your desired output format and one Set Parameter Heater to set the value to the Parameter “DATETIME”.

In the attachment you´l find a brief example you it´s works.



File Attachment:

File Name: use-current-date-time-in-file-name.zip
File Size: 2 KB
Attachments:

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.

Output file names - can I add date/time ? 6 months 1 week ago #3187

  • Ken Starnes
  • Ken Starnes's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 8
Thanks Robert - however I can't open the FHD as it was created in a Beta Version that isn't available to download (I looked at the definition using NotePad++). I have the 4.0.8.2 version.

Please Log in or Create an account to join the conversation.

Output file names - can I add date/time ? 6 months 1 week ago #3188

  • Ken Starnes
  • Ken Starnes's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 8
Have now got the thing working - not always obvious which way/sequence the items should join up.

Please Log in or Create an account to join the conversation.

Output file names - can I add date/time ? 6 months 1 week ago #3190

  • FlowHeater-Team
  • FlowHeater-Team's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 275
Hi Ken,

Oh sorry, the attachment has been updatet. Now the current version 4.0.8.2 are used.

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
Moderators: FlowHeater-Team
Time to create page: 0.281 seconds