title: Download / Export the content of one or more tables
body: <p>I am really new to the <code>QlikView</code> products.</p>
  
  <p>I have two tables. The second is only visible when it has records (under certain conditions).</p>
  
  <p>I would like to use the <code>XL</code> button from the first table and append the contents of the second table if it is visible.</p>
  
  <p>I note that I have to deploy this on the QlikView server.</p>
  
  <p>Here is the button that I refer to:
  <a href="https://i.stack.imgur.com/LzmgK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LzmgK.png" alt="enter image description here"></a></p>
  
  <p>I was thinking to create a trigger and somehow catch the <code>XL</code> button's click event in order to override its functionality.</p>
  
  <p>But since I am new newbie in this technology and in VBScript (macros) as well I thought of asking this question here.</p>
  
  <p>Any pointers would be really appreciated!</p>