SAP Knowledge Base Article - Public

1598271 - How to Access a Secured MS Access database (mdb) Using Java SDK?


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?


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

1197214 - How to access a password protected Ms-Access database? (.Net)


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


Crystal Reports 2008 V1