Saturday, December 19, 2009

Code does not ask Login ID and Password in the Crystal Report (Visual Basic 2008)

Programmers to develop applications with Crystal Report would have a problem ask the Login ID and Password while processing program before opening the report.
We see the sample code to solve the problem, ask to not reporting hours.

The code to solve the problem.

Variables in the code.

strServernameRpt = name server connection

strDatabaseNameRpt = name database

strUserNameRpt = username

strPasswordRpt = password

When the test program again. Program Login ID and Password do not ask anymore.

Thank you,
Worawut  Bunwang

No comments:

Post a Comment