title: DataView in AMPScript
body: <p>Is it possible to access SendLog and DataView data i.e. _Click via AMPScript to populate email content? Something like:</p>
  
  <pre><code>%%[SET EmailContent = _Click(linkName);]%%
  </code></pre>
  
  <p>I know how to run SQL query and save this as a Data Extension but I'd like to use it on the fly. Does anyone know how this can be done?</p>
  
  <p>Thanks</p>
  
  <p>Dan</p>