NewPage (Report controls)  Objects

Chapter 3: DataWindow Object Properties

NoUserPrompt

Description

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

Applies to

DataWindows

Syntax

PocketBuilder 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

dw_1.Object.DataWindow.NoUserPrompt = "yes"

Example 2

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





Copyright © 2004. Sybase Inc. All rights reserved. Objects

View this book as PDF