i just can see the SQL query at "Database"->"Show SQL Query". How do I edit it in Crystal Report?
标签:
crystal-reports
相关问题
- Crystal Report SP26 SetDataSource() Method failed
- Crystal Report in .NET Framework 4.0
- right to left string in crystal report
- Loading Crystal Report from embedded resource
- Suppress Nonadjacent Duplicates in Report
相关文章
- What is the best way to cleanup the resources used
- How to pass a list of values into a crystal report
- Crystal Report Sub Report Page Break
- Issue related to vertical line in Crystal Reports
- Dynamically change database type, source etc in Cr
- Converting total time in integer into HH:MM format
- Crystal Report: How to evaluate multiple IF statem
- How to resolve Crystal Report version conflict and
Firstly I think you need to provide what version of CR you are using.
Secondly, to the best of my knowledge in Version CR13 using VS2010, you CANNOT hand edit SQL query like it we could in older version of CR.
Only way to change it is to update the links/joins on the tables in the Database Expert and Verify Database. These joins will then reflect when you click "Show SQL query".
Thirdly, there is a way you can control the query yourself, using "SQL Command". The steps to do this is mentioned in the other solution.
First Right Click on Database Fields > Set Datasource Location > Select View which you want to replace with another.
You are looking for
Edit Command
within the Database Expert ... see the screenshot below.For Crystal Reports 14.1.x, use Report (in menu at the top) ==> Selection Formulas ==> Record