NoUserPrompt

Description

Determines whether message boxes are displayed to the user during DataWindow processing.

Applies to

DataWindows

Syntax

PowerBuilder dot notation:

dw_control.Object.DataWindow.NoUserPrompt

Describe and Modify argument:

"DataWindow.NoUserPrompt { = ' value ' }"

Parameter

Description

value

A string specifying whether any message box requiring user intervention displays during DataWindow processing.

Values are:

  • Yes – No message box displays.

  • No – (Default) Message boxes display when invoked during DataWindow processing.

Usage

Set the NoUserPrompt property to yes if the DataWindow is to be used in a batch process or in an EAServer environment when there is no possibility of end-user intervention. Dialog boxes you can prevent from displaying include the Error, Print, Retrieve, CrossTab, Expression, SaveAs, Import, Query, RichText, Filter, and Sort dialog boxes.

Examples

Example 1

dw1.Object.DataWindow.NoUserPrompt = "yes"

Example 2

dw1.Modify("DataWindow.NoUserPrompt=no")