LET vScriptReload=RELOADTIME(); ReloadTable: LOAD DocumentName() as Docname, '$(vScriptReload)' as ReloadTime AUTOGENERATE 1 ; STORE ReloadTable INTO mypath\ReloadTracker.qvd;
Or to store as text: STORE ReloadTable INTO mypath\ReloadTracker.txt (txt);
Note that in this context, RELOADTIME() is the wrong function to use. ReloadTime() is not reset until the end of script, so will return the ReloadTIme of the last script execution. Instead use: LET vScriptReload=now(1);