QvdNoOfFields - script function

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

Syntax:  

QvdNoOfFields(filename)

Arguments:  

Argument Description
filename

The name of a QVD file, if necessary including path, as a folder or web data connection.

Example: 'lib://Table Files/'

In legacy scripting mode, the following path formats are also supported:

  • absolute

    Example: c:\data\

  • relative to the Qlik Sense app working directory.

    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')

QvdNoOfFields ('lib://data\MyFile.qvd')