title: Add SQL command to report
body: <p>I want to make a Crystal Report based on a SQL statement. I've read to do that, you add a command to the report, and to do that you have to connect to a database.</p>
  
  <p><a href="https://i.stack.imgur.com/n1bfV.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/n1bfV.jpg" alt="enter image description here"></a></p>
  
  <p>When I click the browse button I get the following screen:
  <a href="https://i.stack.imgur.com/VsQ9d.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VsQ9d.jpg" alt="Connecting to a database 2"></a></p>
  
  <p>Based on my research, it seems you connect to a database. As seen above, all of the file types are .xml files and all that shows up is Dataset. After I click on that, and right click on the dataset name node, the Add Command to Report is greyed out:</p>
  
  <p><a href="https://i.stack.imgur.com/SRPEl.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SRPEl.jpg" alt="enter image description here"></a></p>