Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
mwallman
Contributor

How to store table data into a text .TXT file using the script?

Hi all,

How do you store table data into a text .TXT file using the script?

I am aware of Store statement but reading about states it only does qvd and csv files?

I would like to store the data in a text file including the headers.

Anyone know how please?

4 Replies

Re: How to store table data into a text .TXT file using the script?

Try this:

STORE TableName into File.txt (txt);

awhitfield
Esteemed Contributor

Re: How to store table data into a text .TXT file using the script?

Or even better:

STORE TableName into File.txt (txt);

Re: How to store table data into a text .TXT file using the script?

100% much better

UPDATE: Not anymore though

asgardd2
Contributor III

Re: How to store table data into a text .TXT file using the script?

Also, you can add custom delimiter, like this:

STORE Transactions into Transactions.txt (txt, delimiter is '|');

Community Browser