SAP Knowledge Base Article - Public

1220295 - Prompted to log on to database when modifying record selection formula

Symptom

A Crystal report that contains linked subreports and shared variables. When attempting to modify the record selection formula, you are prompted to log on to the database.

Cause

The cause of the issue is that, for any subreport linked to a recurring field in the main report, linked parameter values are compared only when the subreport data source is accessed.

The issue has been identified and tracked under ID ADAPT00587101.

Resolution

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

Registry Entry Information

-------------------------------

Subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports\FomatOptions\IgnoreSharedVarStateInLinkedSubRpt

Type: STRING

Recognized Values: Yes, No

Default Value: Yes

Creation Method: Hot Fix Installation

Subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\Crystal Reports\FormatOptions\IgnoreSharedVarStateInLinkedSubRpt

Type: STRING

Recognized Values: Yes, No

Default Value:

Creation Method: Hot Fix Installation

Subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Crystal Decisions\10.0\Crystal Reports\FormatOptions\IgnoreSharedVarStateInLinkedSubRpt

Type: STRING

Recognized Values: Yes, No

Default Value:

Creation Method: Hot Fix Installation

Known limitations: Note that this update will change the behavior of a report that has multiple subreport instances using the same linked parameter values but a different state of shared variable. The first data source that matches the linked parameter values is returned; therefore, the shared variable values in the second subreport instance and next may be incorrect. For example:

Main report:

Group1: Country

Group2: Region

Shared variable: Shared NumberVar test := 0;

Subreport:

Link to field "Country" in main report

Shared variable: Shared NumberVar test := test+1;

Insert this subreport to Group2 Region

Before this HotFix is installed:

Group1 Canada

Group2

BC: subreport instance 1 - shared variable value "0"

ON: subreport instance 2 - shared variable value "1"

NS: subreport instance 3 - shared variable value "2"

After this HotFix is installed :

Group1 Canada

Group2

BC: subreport instance 1 - shared variable value "0"

ON: subreport instance 2 - shared variable value "0"

NS: subreport instance 3 - shared variable value "0"

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

====================

CAUTION:

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.

====================

Crystal Reports 10

---------------------

For Crystal Reports 10, 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 10.0.5.1406, dated 5/23/2006 (common10win_en.zip)
  • crw32.exe, version 10.0.5.1406, dated 5/23/2006 (cr10win_en.zip)

 

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.

====================

NOTE:

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.

Keywords

CHF 587101 DATABASE DATA BASE LOGON PROMPT UNEXPECTED Crystal Reports Modifying Record Selection Formula Database Logon Prompt , c2019543 , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Bug Filed

Product

SAP Crystal Reports 10.0