Skip to content

pbLoginOnOpen - cConnection

Determines whether the Open command should attempt a login if the server is not already logged into

Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None

Syntax

Property Boolean pbLoginOnOpen
Access Type Syntax
Read Access: Get pbLoginOnOpen to BooleanVariable
Write Access: Set pbLoginOnOpen to BooleanVariable/Value

Description

pbLoginOnOpen determines whether the Open command should attempt a login if the server is not already logged into.

The default value is True, which maintains legacy behaviors.

We suggest you set this to False. This enforces a more standard SQL mechanism, where you first log in to a database server and then use tables within that server.