Dynamic QVD selection in Script

    Please try below script for dynamically selecting the QVD during load.

     

    LET vTemp = If((Month(Today()) * 1) = 2, 'Inscomp.qvd', 'Inscomp1.qvd');

     

    Temp:

    LOAD *

    FROM

    $(vTemp)

    (qvd);

     

    Hope this helps others.

     

    Regards,

    Jagan.