Name

ConnectPromptEnum Enumeration — (Versions 2.0, 2.1, 2.5, 2.6)

Synopsis

The ConnectPromptEnum enumeration indicates whether the user is prompted to enter missing parameters when opening connection. This enumeration value is used within the Connection dynamic property, Prompt.

Table E-11. The ConnectPrompt Enumeration

Enumeration (ADO/WFC)

Value

Description

adPromptAlways (ALWAYS)
1

Indicates that the user is always prompted for parameter information.

adPromptComlete (COMPLETE)
2

Indicates that the user is prompted for additionally required parameters.

adPromptComleteRequired (COMPLETEREQUIRED)
3

Indicates that the user is prompted for parameters that are required, but optional parameters are not allowed.

adPromptNever (NEVER)
4

Indicates that the user is never prompted for parameter information.

ADO/WFC

The ConnectPromptEnum enumeration is part of the com.ms.wfc.data package, and the constant values are preceded with AdoEnums.ConnectPrompt.

Get ADO: ActiveX Data Objects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.