title: display table data in a list box (access form)
body: <p>I want display table data in a list box with this code:</p>
  
  <pre class="lang-vb prettyprint-override"><code>Me.List_history.RowSource = "SELECT Date " &amp; _
      "FROM Leaves " &amp; _
      "WHERE CodePersonali = " &amp; Nz(Me.CodePersonali.Value)
  </code></pre>
  
  <p>but the list box doesn't display anything</p>
  
  <p><code>List_history</code> = my list box name</p>
  
  <p><code>Date</code> = field name in <code>leave</code> table</p>