Specifies user IDs for logging on to SQL or ODBC databases used by the report.
User-<servername>.<databasename>
To pass a password to a subreport database, use the following syntax:
User-<servername>.<databasename>@<subreportname>
This method of specifying a user ID was 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
http://myServer/myVirtualDirectory/viewrpt.cwr
USER# is normally used in conjunction with the PASSWORD# 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.
user0@Crosstab=jimmys&password0@Crosstab=jimmyz
user1
can appear before user0
. However, index numbers must match the order that the passwordCrystal Decisions, Inc. http://www.crystaldecisions.com Support services: http://support.crystaldecisions.com |