Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
Karim_Khan
Creator III
Creator III

How to get specific qvds date time

Hi All,

     I am using below script for getting the qvd's updated time but in my path there are n-numbers of qvds are there I want some specific qvds date n time I have tried to add below code but its not working?

L

Let vQVDPath = '....\qvd';

A:

LOAD QVD_NAMES AS QVDTableName

FROM

[QVD_List.xlsx]

(ooxml, embedded labels, table is Sheet1);

For Each File in FileList(vQVDPath& '\*.qvd')

B:   

     Load

      FileName() as TableName

      ,FileTime() as FileCreateTime

      ,QvdCreateTime('$(File)') as QVDCreateTime

      ,SubField(SubField('$(File)','\',-1),'.',1) as QVDTableName

     From [$(File)] (qvd);

Next File

Regards,

KK

New to QlikView

KK
Labels (1)
11 Replies
Karim_Khan
Creator III
Creator III
Author

I had missed path sorry rest is fine

KK
Karim_Khan
Creator III
Creator III
Author

I had missed path sorry

KK