Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I Have One Qvd ,called Year_qvd ,that qvd contains the yearly wise data.i was splitted that qvd into monthly wise qvd's (MAR,APR,MAY ..upto this month ,remaining data will come in future.)
in script level ,i want to load the previous month qvd data dynamically.
ex:
previous month:
Load *
from may.qvd ------> here i want to change may.qvd to june.qvd dynamically in script.
if july month will come,automatically june qvd gets created.
now i want to load june qvd data dynamically instead of may.
How to achive this dynamically.
Regrds,
kd
Try like below:
Let vPrevMonthNameQVD = Month(Addmonths(Today(),-1)) & '.qvd' ;
LOAD * FROm [$(vPrevMonthNameQVD).qvd] (qvd) ;