Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

QueryMode – PB Docs 2019 – PowerBuilder Library

QueryMode – PB Docs 2019

QueryMode

property (DataWindow object)

Description

Whether the DataWindow is in query mode. In query mode, the user
can specify the desired data by entering WHERE criteria in one or more
columns.

DataWindow presentation styles

You cannot use QueryMode with DataWindow objects that use any of
the following presentation styles: N-Up, Label, Crosstab, RichText,
and Graph.

Applies to

DataWindows

Syntax

PowerBuilder dot notation:

Describe and Modify argument:

Parameter

Description

value

Whether the DataWindow is in query
mode.

Values are:

yes — Query mode is
enabled.

no — Query mode is
disabled.

Usage

After the user specifies retrieval criteria in query mode,
subsequent calls to Retrieve can use the new criteria. To retrieve data
based on user selection, change the query mode back to no and use
AcceptText to accept the user’s specification before the next call to
Retrieve.

Setting QuerySort to yes also puts the DataWindow into query mode,
changing the QueryMode property’s value to yes.

Query mode and secondary
DataWindows

When you are sharing data, you cannot turn on query mode for a
secondary DataWindow. Trying to set the QueryMode or QuerySort
properties results in an error.

Buffer manipulation and query
mode

A DataWindow cannot be in query mode when you call the RowsCopy
method.

Examples


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x