[ROOT] --> C-Client

struct PELogOnInfo

This structure holds database logon information.

Source:
C:\FlatInclude\Crystal:Structures.h

Variables Index

DatabaseName
Specifies the logon name for the server used to create the report. For ODBC, use the data source name. If your report uses a Microsoft Access database via ODBC, the data source indicated in the ServerName parameter must specify an Access database file. An ODBC data source based on the Access driver with no database specified can not be used at runtime.
Password
Specifies the password necessary to log on to the server. When using this structure to retrieve information using the GetNthTableLogOnInfo function, the password parameter is undefined.
ServerName
Specifies the logon name for the server used to create the report. For ODBC, use the data source name.
StructSize
Specifies the size of the PELogOnInfo structure. You must initialize this member to the size of whatever it is, for example, info.StructSize = PE_SIZEOF_LOGON_INFO.
UserID
Specifies the logon name for the database used to create the report.


Variables

StructSize

WORD StructSize

Specifies the size of the PELogOnInfo structure. You must initialize this member to the size of whatever it is, for example, info.StructSize = PE_SIZEOF_LOGON_INFO.

ServerName

char ServerName [ PE_SERVERNAME_LEN ]

Specifies the logon name for the server used to create the report. For ODBC, use the data source name.

DatabaseName

char DatabaseName [ PE_DATABASENAME_LEN ]

Specifies the logon name for the server used to create the report. For ODBC, use the data source name. If your report uses a Microsoft Access database via ODBC, the data source indicated in the ServerName parameter must specify an Access database file. An ODBC data source based on the Access driver with no database specified can not be used at runtime.

UserID

char UserID [ PE_USERID_LEN ]

Specifies the logon name for the database used to create the report.

Password

char Password [ PE_PASSWORD_LEN ]

Specifies the password necessary to log on to the server. When using this structure to retrieve information using the GetNthTableLogOnInfo function, the password parameter is undefined.


Copyright (c) 2000 Dynalivery Corp.