Software: Crystal Reports Version 8.0.1.0
SQL Server 2000 Database
Situation: We have an auditing application that generates review data based on answering yes or no questions, and we use CR to determine an accuracy score based on this data. A review may contain anywhere from 1 to over 220 questions. Using the Rnd() function, I am attempting to display a random sample of the existing reviews. For instance, if an individual has 50 reviews that represent 5% of their production for a month, I would like to randomly select 30 of those, which would represent 3% of the monthly work. I have formatted the background of certain fields to change when a review contains an error, thus allowing me to quickly run several iterations of the report and track how many times reviews containing an error appear.
Here is my dilemma: The reviews with the highest number of questions are consistently appearing as the last items on the report before I suppress the results. Specifically, one review with over 220 questions is always the last item, and never appears in the suppressed results. Since this review contains an error, the fact that it does not randomly appear in the limited results defeats the whole purpose of the report. The report is based on the joining of six tables, and I have turned off the “Perform Grouping on Server” option under the Database menu. If I remove the question details from the report and only look at the Reviews, the random selection works fine, but then I cannot obtain an accuracy score.
I usually am able to find a solution without the need for posting a question, but so far I have not found anything. Thank you all for all your wisdom and advice!
Bob S.
SQL Server 2000 Database
Situation: We have an auditing application that generates review data based on answering yes or no questions, and we use CR to determine an accuracy score based on this data. A review may contain anywhere from 1 to over 220 questions. Using the Rnd() function, I am attempting to display a random sample of the existing reviews. For instance, if an individual has 50 reviews that represent 5% of their production for a month, I would like to randomly select 30 of those, which would represent 3% of the monthly work. I have formatted the background of certain fields to change when a review contains an error, thus allowing me to quickly run several iterations of the report and track how many times reviews containing an error appear.
Here is my dilemma: The reviews with the highest number of questions are consistently appearing as the last items on the report before I suppress the results. Specifically, one review with over 220 questions is always the last item, and never appears in the suppressed results. Since this review contains an error, the fact that it does not randomly appear in the limited results defeats the whole purpose of the report. The report is based on the joining of six tables, and I have turned off the “Perform Grouping on Server” option under the Database menu. If I remove the question details from the report and only look at the Reviews, the random selection works fine, but then I cannot obtain an accuracy score.
I usually am able to find a solution without the need for posting a question, but so far I have not found anything. Thank you all for all your wisdom and advice!
Bob S.