cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the query of a crystal report file (.rpt)?

Former Member
0 Kudos

I need to change the query of my crystal report file (.rpt) depending of a filter (where clause). How can i do this (change the where clause of my query)? (In the code behind)   Obs: i'm using crystal report 13, .net framework 4.0 and c#.

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

You cannot modify the SQL. Not since version 9 of Crystal Reports. Use the selection formula to filter your data.

E.g.:

- Ludek

Answers (0)