Skip to main content

QvdFieldName - script function

This script function returns the name of field number fieldno in a QVD file. If the field does not exist NULL is returned.


QvdFieldName(filename , fieldno)


Argument Description

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.


fieldno The number of the field within the table contained in the QVD file.


QvdFieldName ('MyFile.qvd', 5)

QvdFieldName ('C:\MyDir\MyFile.qvd', 5)

QvdFieldName ('lib://data\MyFile.qvd', 5)

All three examples return the name of the fifth field of the table contained in the QVD file.