# QvdNoOfFields - script function

This script function returns the number of fields in a QVD file.

Syntax:

QvdNoOfFields(filename)

Arguments:

* filename: The name of a QVD file, if necessary including path.
  * absolute

    Example: c:\data\

  * relative to the QlikView document path.

    Example: data\

  * URL address (HTTP or FTP), pointing to a location on the Internet or an intranet.

    Example: http://www.qlik.com

Examples:

`QvdNoOfFields 
 ('MyFile.qvd')` `QvdNoOfFields 
 ('C:\MyDir\MyFile.qvd')`