title: In vbscript can you use two possible conditions in an if statement? (OR)
body: <p>An example would be:</p>
  
  <pre><code>If filter_purchase = 0 Or "" Then
  SetDocVar "filter_purchase", "0"
  Else
  SetDocVar "filter_purchase", CStr(filter_purchase)
  End If
  </code></pre>
  
  <p>But I get a 'Type Mismatch'. Would there be an easier way than doing Else IFs?</p>