Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have 2 file one is DATALOADING.Qvw and another is ANALYSIS.qvw. I want to schedule the reloading time, so that i created one new qvw file called RELOAD.Qvw in which i write macro which reload the Qvw files one after one. After that run the macro after reload by using trigger. And it is working in normal way (Means after manual relaoding of RELOAD.Qvw) . After that i created one BAT FILE to schedule the reload time. And now the problem comes. The BAT FILE is only able to reload the RELOAD.QVW FILE ONLY NOT THE MACRO WHICH SHOULD RUN AND RELOAD THE 2 FILES AFTER RELOADING OF RELAD.QVW .
Can anyone tell me why bat is reloading only the Reloading.Qvw not the macro written inside???
Hi,
The better approach for reloading qvw files is not through macros.
You can use a single batch file to reload both the qvw files by writing two lines as follows:-
"Path of qv.exe" /r "Path of DATALOADING.Qvw file"
"Path of qv.exe" /r "Path of ANALYSIS.Qvw file"
and then you can put this batch file on Windows Scheduler.
This will start reloading the second file only after the completion of reload for the first file.
Thanks & Best Regards,
Kuldeep Tak
Hi,
The better approach for reloading qvw files is not through macros.
You can use a single batch file to reload both the qvw files by writing two lines as follows:-
"Path of qv.exe" /r "Path of DATALOADING.Qvw file"
"Path of qv.exe" /r "Path of ANALYSIS.Qvw file"
and then you can put this batch file on Windows Scheduler.
This will start reloading the second file only after the completion of reload for the first file.
Thanks & Best Regards,
Kuldeep Tak
Thanks Kuldeep for your suggestion. I will follow this method. Hope this will work .