1535797 - Multipage report prompts with a parameter popup box to reenter values when paging to next page

SAP Knowledge Base Article - Public

1535797 - Multipage report prompts with a parameter popup box to reenter values when paging to next page

Symptom

When clicking on Next  in the CR viewer for VS .NET to move to page two the parameter prompt appears.

Environment

Crystal Reports for Visual Studios 2010.

Reproducing the Issue

  • Create two static parameter fields.
  • Pass the parameter values to an ASP.NET web page:
Dim Parameter1 As SqlParameter = New SqlParameter("@fromdate", CType(Fromdate, Date))
Parameter1.Direction = ParameterDirection.Input
Parameter1.DbType = DbType.Date
Dim Parameter2 As SqlParameter = New SqlParameter("@todate", CType(Todate, Date))
Parameter2.Direction = ParameterDirection.Input
Parameter2.DbType = DbType.Date
Command.Parameters.Add(Parameter1)
Command.Parameters.Add(Parameter2)
  • When the report displays in the CR viewer for VS .NET, click Next to move to page two.
  • The report prompts with a parameter popup box to reenter the values.

Resolution

  • There is a new value added to the parameter properties when adding/editing report parameters.
  • Look for "Show On Viewer Panel".
  • Set this property to "DO NOT SHOW" to disable the prompts when passing parameters via code.

Keywords

cr4vs2010 2010 vs2010 crforvs 13 NET2010 Parameter Prompt panel , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , How To

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio