NeedsLogon Property

Applies To   See Also   Example  

This property indicates whether or not the report needs to logon to a database in order to retrieve its data.

Syntax

Property NeedsLogon As Boolean

Used to query for the property

SI_DBNEEDLOGON Property

Remarks

Set this property to True if the report needs to access data from a database that requires logon information. If this value is set to True, the database must be accessible, and the user may be required to provide a username and password to access the database. Use the properties in the ReportLogon Object to set the information correctly. If these values are rejected by the database server, the report will not be able to run. Once you have modified this property, be sure to call the InfoStore's Commit Method in order to write the changes back to the server.



Crystal Decisions, Inc.
http://www.crystaldecisions.com
Support services:
http://support.crystaldecisions.com