Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I want to set a sysdate in a variable so that I can concat that variable with some prefix strings as a filename on qvd generation ?
Please suggest me idea on how to do that ?
Regards,
Sachin A.
Hi,
LET vDate=Date(Today(),'DD-MM-YYYY');
LoadFirst:
LOAD
Serial,
Value
From [.\DemoTable.xlsx](ooxml,embedded labels,table is sheet1);
Store Loadfirst into Qvd_'$(vDate)'.qvd;
Try in this way ..
Rregards,
Ajay
Hi,
First, when setting my variable, I would format as ISO. Either using:
let vDate = TimeStamp(Now(), 'YYYYMMDDhhmmss');
or
let vDate = Date(Now(), 'YYYYMMDD');
That way, when the file is listed, it will sort alphabetically in date order.
You will need to write a VBScript to delete any older files.
Regards,
Stephen
Try this solution, it really helped me out!