Quantcast
Channel: SCN : Unanswered Discussions - SAP Crystal Reports
Viewing all articles
Browse latest Browse all 4814

CR 2008. how to use report parameters into SQL command

$
0
0

maybe its a trivial issue, but its driving me crazy.

I have a report with a parameter (Id). Now I must create a new SQL command like this:

"SELECT * FROM TAB WHERE ID={?Id}"

of course, at runtime the SQL parameter get the value of the report parameter. But the SQL command editor forces me to create a new Parameter having the same name of the report parameter. If I have a lot of queries, each of them having many parameters, this causes a great loss of time and it may cause mistakes.

So, is there a way to link the SQL parameters with the report parameters, avoiding duplication? thanks for help


Viewing all articles
Browse latest Browse all 4814

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>