title: How To Print A Single Record from a Microsoft Access Form into a Report
body: <p>i'm very new to Access and VB, and im about to print a specific record.. but im getting an error with this code: </p>
  
  <pre><code>Private Sub printEksternAVR_Click()
  DoCmd.OpenReport [Report_AVR Ekstern], acViewPreview, , [Report_AVR Ekstern].Rapport_nr = Forms!Form_AVR
  
  End Sub
  </code></pre>
  
  <p>My reports name is AVR Ekstern, and the prime key is Rapport nr and the form im clicking the button and viewing the record in, is AVR</p>
  
  <p>i think i misunderstood something alon the way, so i really hope someone can help me out here? </p>