Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I want to create QVD named bla_$(vDate).qvd
How can I get the current date into varriable vDate?
I will be glad to get a response ASAP!
Thanks,
Nimrod.
You could use function today(). So: LET vDate = today();
Regards,
Thanks but I still have not succed to concatenate the date to the file name.
What can be the reason?
Try this:
LET vDate = today();
LET vQVDName = 'bla_' & $(vDate) & '.qvd';
STORE tablename into $(vQVDName);
Regards,
great but I got the name:
bla_0.00020729684908789.qvd
How could I get the date in format 2010-12-05 (or in date format)
?
Oh, right. Change it to this: LET vDate = date(today());
Cheers,
LET
LET
STORE
TABLE into $(vQVDName); vQVDName = 'BLAAAA_' & $(vDate) & '.qvd'; vDate = date(today(),'YYYYMMDD');
That looks bad!!!
LET vDate = date(today(),'YYYYMMDD');
LET vQVDName = 'BLAAAA_' & $(vDate) & '.qvd';
STORE TABLA into $(vQVDName);
It was helpful.
Thanks.
LET vDate = today();
LET vQVDName = 'bla_' & vDate & '.qvd';