title: How to open the SQL database in crystal report?
body: <p>How to open the sql data base in crystal report?</p>
  
  <p>Using VB 6, SQL server 2000, Crystal Report 8.5</p>
  
  <p>My code.</p>
  
  <pre><code>CR.DataFiles(0) = App.Path &amp; "\Database\DUAL_ACS.mdf"
  CR.ReportFileName = App.Path &amp; "\rpt_attendancereport.rpt"
  CR.Action = 1
  </code></pre>
  
  <p>But it showing “Cannot Open Sql Server”</p>
  
  <p>What wrong in my code.</p>
  
  <p>Need VB 6 code Help?</p>