Skip to Content

How to retrieve raw SQL query from report template

Mar 31, 2017 at 09:08 AM


avatar image

A trivial .Net client, a stand alone app. HelloWorld, really.

using CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0.

Loads a template.from a file.

Is it possible to get a raw SQL query, which CR generates internally, based on the parameters of the template?

Google search has returned a few similar questions, but they all seem to refer to RAS.

Much appreciated


10 |10000 characters needed characters left characters exceeded

to elaborate further: we need to get the query from our code, not by looking at SQL Profiler or some SQL traces.


this is the query which you see from the Template Designer, using Database\ShowSQLQuery menu.

* Please Login or Register to Answer, Follow or Comment.

0 Answers