Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
In wanna make a qvd with a date in the name. see above. Can someone explain what is wrong in this line ?
store $(d) into $(vDataDir)\$(d)$(vToday).QVD;
Hi,
did you try to generate a file manually with the date-format of QV?
Maybe the file-system doesn't accept the separators ==> : of the date?
only estimated, the format seems correct..
HTH
Hi,
did you try to generate a file manually with the date-format of QV?
Maybe the file-system doesn't accept the separators ==> : of the date?
only estimated, the format seems correct..
HTH
Most likely, your date format includes some of the characters that Windows doesn't allow in file names, like slash, for example.
Format your date using dots or underscores and it should work. For example:
let vDate = Date(myDate, 'YYYY_MM_DD');
Hello,
That should work, but since there may be slashes, I'd enclose the name of the file replacing those characters:
LET vNombreArchivo = Date(Today(), 'YYYY_MM_DD'); store $(d) into [$(vDataDir)\$(d)$(vToday).QVD];
Hope that helps.
EDITed: previous code didn't make sense.