Help me please!
I want to replace my log file from folder with qvw file into folder that will be blocked for users,.
I've tryied to use execute but when I write move *.qvw.log it doesnt work, what do I need to do to reach the result?
You would need to change LoadLogging into a:
let vLogFile = '"' & DocumentName() & '.log"';
let vLogPath = '"' & left(QvWorkPath, index(QvWorkPath, '\', -1)) & 'LoggingLoad\' & DocumentName() & '.log"';
execute cmd.exe /C copy $(vLogFile) $(vLogPath);
let vLogFile = null(); let vLogPath = null();
The log will reside in a folder parallel to the qvw like:
but you could also choose each other exists folder like you want. Should this folder be also relative to the qvw or to something else you would need to build this path. but like you see within my example it's not very difficult with the system-variables, document-functions and a few string-functions like left/mid/index/subfield and so on - just try it out within the GUI, for example within a textbox.