Specifies passwords for logging on to SQL, ODBC, or password
Password-<servername>.<databasename>
To pass a password to a subreport database, use the following syntax:
Password-<servername>.<databasename>@<subreportname>
This method of specifying a password is used in older versions of Crystal Reports (for example, Crystal Reports 7). While it is not recommended, it can still be used.
If the report accesses more than one password
password0=secret&password1=mystery&password2=unknown
PASSWORD# is normally used in conjunction with the USER# parameter. For example:
user0=SmithJ&password0=secret&user1=JohnS&password1=mystery
If the report contains subreports that require user IDs and passwords for logging on to SQL or ODBC data sources, use the following syntax in the URL:
user#@subname=<userid>&password#@subname=<password>
Subname is the name of the subreport.
http://myServer/myVirtualDirectory/viewrpt.cwr
Note: Passwords can be specified in the URL in any order; for example, password1
can appear before password0
. However, the index numbers must match the order that the password
Crystal Decisions, Inc. http://www.crystaldecisions.com Support services: http://support.crystaldecisions.com |