Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to write a log file by macro?

I have a macro to do something, and I also want to record some information into a log file.

Can I do it by macro?

4 Replies
martin59
Specialist II
Specialist II

In your load script, you can write on the log file with the "TRACE" command.

But I'm not sure is that you want ?

Anonymous
Not applicable
Author

Thank you, Martin. But it is not what I want.

I want to write anything to a .TXT file when I running a Macro.

pover
Partner - Master
Partner - Master

Go to the following page for tips on creating a text file and writing in the text file.

http://www.computerperformance.co.uk/ezine/ezine12.htm

Or google "vbscript write text file".

Remember to Allow System Access to the QlikView Macro in the Edit Module... window.

Regards.

Anonymous
Not applicable
Author

Thank you, Karl.