create report from custom query?

In crystal reports XI, can we create report from custom query or can we change the sql ? If so how?

thanks
kxradhiAsked:
Who is Participating?
 
crgary_txConnect With a Mentor Commented:
Yes you can create the report off the query? After making sure the query is returning the dataset you want,
>go to database expert
>click on the 'Add Command' button
>Paste the query in the window
>you can also create the parameters on the right and refer to those parameters in the query
the syntax to use the parameter: field = {?yourparam}

hth..
Gary
0
 
mlmccConnect With a Mentor Commented:
Agree.  Another pption is to build the query in the database then use it directly from Crystal.

Crystal doesn't allow you to change the query but you can filter using the select expert.

mlmcc
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.