title: Dynamic parameters in Crystal report
body: <p>I have a <code>LINETYPE</code> parameter with the following values:</p>
  
  <pre><code>    INV_DEVICE
      INV_SIM
      TAX
      OTHER_ITEMS
  </code></pre>
  
  <p>If the user chooses anything from the <code>LINETYPE</code> parameter anything that start with "<code>INV_*</code>", is it possible that another parameter field be populated dynamically?</p>
  
  <p>For example, the user chooses <code>INV_DEVICE</code>. There would appear another parameter field called <code>GOODSTYPE</code>.
  Values for <code>GOODSTYPE</code> are taken from the database. Example:</p>
  
  <pre><code>    PAGER
      GSMPHONE
      SMARTPHONE
      TABLET
  </code></pre>
  
  <p>But when the user chooses <code>TAX</code> or <code>OTHER_ITEMS</code> the user does not need to choose any value from <code>GOODSTYPE</code>, or the parameter field does not show at all.</p>
  
  <p>The output of the report are those matching the criteria the user entered.
  Note that for <code>LINETYPE</code> and <code>GOODSTYPE</code>, user can choose multiple values.
  LINETYPE is a mandatory field, but <code>GOODSTYPE</code> will vary upon the values chosen by the user in <code>LINETYPE</code></p>