create report from custom query?

Posted on 2007-08-02
Last Modified: 2013-11-05
In crystal reports XI, can we create report from custom query or can we change the sql ? If so how?

Question by:kxradhi
    LVL 13

    Accepted Solution

    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}

    LVL 100

    Assisted Solution

    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.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
    Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now