SAP Knowledge Base Article - Public

1219043 - Top-N sort displays the previous parameter value instead of the most recent


In Crystal Reports XI, a subreport that contains a Top-N sort based on a formula that uses a parameter linked to the main report, displays the previously entered parameter value.


For example, if the report passes five as the number (N) of records to show, you will see the top five records. If the report is refreshed and now three is passed, the subreport's Top-N sort still shows five values where it should show three.


The issue has been identified and tracked under ID ADAPT00467856.


Hot Fixes or Service Packs address this issue as indicated below. With the update(s), this issue is resolved.

Unless indicated otherwise, Weekly Hot Fix updates from the FTP site have only been tested with English versions of our products.



Hot Fixes and Service Packs are not designed for OEM versions. Do not apply these updates if you are using an OEM version. To determine if you are using an OEM version, refer to the OEM Product Warning.


For Crystal Reports XI, the latest update for this issue is available on the Downloads area of our web site.

This issue is addressed in the following components (and later versions):

  • crpe32.dll, version, dated 7/25/2005 (
  • crw32.exe, version, dated 7/25/2005 (


Monthly Hot Fixes and Service Packs


To determine if this issue is also addressed in a Monthly Hot Fix or Service Pack for your product, search the readme file for the Track ID number (that is, ADAPTXXXXXXXX) in the latest Monthly Hot Fix or Service Pack.

Monthly Hot Fixes readmes and Service Pack readmes are available in the Downloads area of our web site.



Issues addressed on one operating system platform at the Weekly Hot Fix level may be addressed later on multiple operating system platforms (if applicable) at the Monthly Hot Fix and Service Packs level. For example, an issue only resolved on the Windows platform in a Weekly Hot Fix may be resolved later on UNIX platforms such as IBM AIX and Sun Solaris in future Monthly Hot Fixes or Service Packs for these platforms.

To determine if these issues are resolved in a Monthly Hot Fix or Service Pack on another platform, search for the Track ID number in the readme at the locations indicated above.

See Also

For more information on the issues addressed in the Hot Fix or Service Pack, view the readme PDF or text file included in the ZIP or TAR file.

For more information on the different update types, refer to our Hot Fix and Service Pack FAQ.


WHF 467856 TOP-N TOP N SORT SORTING PARAMETER PARAM OLD LAST PREVIOUS Crystal Reports Top-N sort Incorrect data returned , c2018038 , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Bug Filed


SAP Crystal Reports XI ; SAP Crystal Reports XI R2