LogonServer logs on to the specified server and returns a unique connection id which can be used to log off of this server using the LogoffServer.
[form.]Report.LogonServer (dllName$, ServerName$, DatabaseName$, UserID$, Password$)
connectionId% = CrystalReport1.LogonServer ("pdsodbc.dll", "Accounting", "Administration", "bobg", "bigboard")
«Connects to the "Administration" database via the "Accounting" data source using the user ID "bobg" and the password "bigboard".»
Specifies the name of the Crystal Reports DLL for the server or password protected non | |
Specifies the logon name for the server used to create the report. *For ODBC, use the data source name. | |
Specifies the logon name for the database used to create the report. | |
Specifies the password necessary to log on to the server. When you are using this structure to retrieve information using PEGetNthTableLogOnInfo, the password parameter is undefined. |
| Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |