title: extract raw SQL query from a Crystal Report .rpt file
body: <p>I've got an .rpt file that I did not write and can find no documentation about. I want to be able to review the SQL that is generated from this report so that I can figure out, well, what data it was pulling and what WHERE clause parameters were used. </p>
  
  <p>I can open it up and see the report layout. But when I select <em>Database|Show SQL Query...</em> the report tries to connect to the data source. The problem is, the data source being used is unknown to me, probably an ODBC connection used by whoever wrote the query. All I can do at that stage is 'Cancel' and I'm back to looking at the report designer. </p>
  
  <p>Am I missing something? Can I get to the SQL query without connecting to the datasource? It seems like viewing the selection criteria shouldn't be dependent on a data connection. </p>
  
  <p>Thanks.</p>
  
  <p>version: Crystal Reports 2008</p>