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

Problem in displaying the records in crystal reports

$
0
0

Hi;

 

I am facing a unique problem where I am not able to understand what the problem is. Let me explain the problem; I am having a stored procedure and when I execute the stored procedure I get 2879 rows and the result that is shown is correct. The stored procedure contains a date parameter

 

Now I prepared a crystal report using the stored procedure. It will prompt for the date parameter and I give the current date in this scenario all the records are shown correctly and nothing is missed.

 

Now I gave another parameter for selecting the records. The name of the parameter is VENDOR. Its a dynamic parameter. I gave the datasource for the parameter (Value / Description / Parameters)

 

I placed this parameter on the report header which is suppressed.

 

Then from the menu REPORT --> SELECT EXPERT --> RECORD I gave the formula

 

SP.Field1 = SP.Field2 AND SP.VENDORNUM = (?VENDOR)

 

If I select all the vendors which appear in the list then I get 1971 records which should be rather 2854 records

 

I then executed the stored procedure in SQL database. I got 2879 records and then I copied the result to an excel file.

 

I did a comparison where Field1 does not match with field2 and I noticed that there are 25 such records.

 

I am not able to find out any logic why some of my records are missing the report.

 

I hope that I had been able to explain my problem.

 

Please suggest me some ideas what could be the potential reason for the missing data.


Viewing all articles
Browse latest Browse all 4814

Trending Articles



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