Skip to Content
author's profile photo Former Member
Former Member

Crystal Reports showing no records but returns SQL that returns records

I have a report that I have made changes to, and when I put in the parameters, no records appear in the report except for one selected parameter.

But each selection returns an SQL query that will return records when ran in TOAD.

For example, three different parameters (select only one at a time):

xSelect

ySelect

zSelect

When I select xSelect in the parameters, records appears in Crystal. SQL returns same in TOAD. Number of records in both is 7.

When I select ySelect in the parameters, no records appear in Crystal, but it does give the SQL. SQL returns 31 records in TOAD.


When I select zSelect in the parameters, no records appear in Crystal, but it does give the SQL. SQL returns 17 records in TOAD.

Any help or ideas would be appreciated.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Nov 09, 2015 at 03:23 PM

    A couple of questions:

    1. Which version of Crystal - please go to Help>>About and get the exact version number.

    2. Are the parameters single-select or multi-select?

    3. Please post the formula from the Select Expert to show us how you're using the params.

    -Dell

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.