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

GetFormat – PB Docs 2017 – PowerBuilder Library

GetFormat – PB Docs 2017

GetFormat

method (DataWindows)

Description

Obtains the display format assigned to a column in a DataWindow
control or DataStore object.

Applies to

DataWindow type

Method applies to

PowerBuilder

DataWindow control, DataWindowChild object, DataStore
object

Syntax

PowerBuilder

Argument

Description

dwcontrol

A reference to a DataWindow control, DataStore, or
child DataWindow.

column

The column for which you want the display format.
Column can be a column number (integer) or a column name
(string).

Return value

Returns the display format specification for column in dwcontrol. If
an error occurs, GetFormat returns the empty string (” “).

If any argument value is null, in PowerBuilder and JavaScript the
method returns null.

Usage

If you want to change the display format of a column temporarily,
you can use GetFormat to save the current format.

Examples

These statements save the format of column salary of dw_employee
before changing it to a new format:

See also

SetFormat


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