Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello there!
Anybody know how can I ask in a script if a file (qvd) exist?
Thanks a lot!!
regards.
Hi,
You can try with that :
IF FileSize('MyTable.qvd') > 0 THEN
SET QVD_EXISTS=1; // true
ELSE
SET QVD_EXISTS=0; // false
END IF
Hi,
You can try with that :
IF FileSize('MyTable.qvd') > 0 THEN
SET QVD_EXISTS=1; // true
ELSE
SET QVD_EXISTS=0; // false
END IF
If you are talking about in a QV script we tend to use
QvdCreateTime
('$(cFileName)') >= 0
It's working well.
Thanks again.
Hi, also works QvdNoOfRecords(qvdfile.qvd)
if is null, the qvd file doesn't exist
rgds
I could figured out after read your answers we can validate if a qvd file exist using differents scripts file functions.
i.e: QvdNoOfRecords, QvdCreateTime, FileTime, FileSize;
Thanks.
regards.