Subroutines

Subroutines are small chunks of code that you can easily include in your apps to automate common actions. As they are built using QlikView script, they can perform a wide variety of actions, and their ability to receive parameters makes them very flexible.

In this chapter's material, you can find an example that includes three bonus subroutines:

  • StoreQVD: This subroutine stores a table in QVD. Afterwards, it drops the table and keeps some useful metadata, such as the number of records and the time spent loading each element.
  • ImageBundleLoad: Instead of creating an inline table with all the images you need in your dashboard, arrange them in a single folder (it can contain several subfolders), and load them automagically with this subroutine (no, that's not a typo).
  • LoadVariables: Using the Variable Overview window to create all the variables in the document can be troublesome and sometimes give you nasty surprises (if you are a seasoned QlikView developer, you have surely erased your variables by accident at least once). This subroutine lets you load all the variables defined in an Excel file so that you have a better control over them.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset