FoDialog

Description

Specifies whether PowerBuilder displays a runtime dialog box indicating when a failover occurs.

When to specify FoDialog

You must specify the FoDialog parameter before connecting to the database.

Applies to

ASE, SYC SAP Adaptive Server Enterprise

O90 Oracle9i

O10 Oracle 10g

ORA Oracle (for 11g and later)

Syntax

FoDialog='value'

Parameter

Description

value

Specifies whether you want PowerBuilder to display a runtime dialog box indicating when a failover occurs. Values are:

  • No

    (Default) PowerBuilder should not display a dialog box.

  • Yes

    PowerBuilder should display a dialog box.


Default value

FoDialog='No'

Usage

You can display a runtime dialog box only if you have enabled failover. The dialog box does not display in COM+.

This parameter cannot be set dynamically. The value set when the connection is made remains in effect until it is disconnected.

Examples

To tell PowerBuilder to display a runtime dialog box when a failover occurs:

  • Database profile

    Select the Display Runtime Dialog When Failing Over check box on the Network page in the Database Profile Setup dialog box.

  • Application

    Type the following in code:

    SQLCA.DBParm="FoDialog='Yes'"

See also

SvrFailover