# QvdNoOfRecords - script function

Example: This script function returns the number of records currently in a QVD file.

Syntax:

QvdNoOfRecords(filename)

Arguments:

Arguments

| Argument | Description |
| --- | --- |
| filename | The name of a QVD file, if necessary including path, as a folder or web data connection.<br><br>Example: 'lib://Table Files/'<br><br>In legacy scripting mode, the following path formats are also supported:<br><br><ul> <li> <p> absolute </p> <p><span><span>Example: </span></span><span>c:\data\</span> </p> </li> <li> <p>relative to the <span>Qlik Sense</span> app working directory.</p> <p><span><span>Example: </span></span><span>data\</span> </p> </li> <li> <p>URL address (<span>HTTP</span>  or <span>FTP</span>), pointing to a location on the Internet or an intranet. </p> <p><span><span>Example: </span></span><span>http://www.qlik.com</span> </p> </li> </ul> |

Examples:

`QvdNoOfRecords 
 ('MyFile.qvd')` `QvdNoOfRecords 
 ('C:\MyDir\MyFile.qvd')` `QvdNoOfRecords 
 ('lib://DataFiles/MyFile.qvd')`