Symptom
When viewing a report based on a Microsoft Access .mdb database file that has been secured with a password, the user is prompted for the password. How can you use the Java SDK to provide the password so the user isn't prompted?
Resolution
Use the method ReportClientDocument.getDatabaseController().logon("",password). The user name parameter is an empty string.
The sample Java_RAS2008_Unmanaged_View_Secured_mdb is attached below.
See Also
Keywords
ras java unmanaged sdk api ms microsoft access database db mdb secured password protected , KBA , BI-DEV-JAV , BI Software Development Kits (SDKs) - Java , How To
Product
Crystal Reports 2008 V1