SetItemTime – PB Docs 150

SetItemTime method (DataWindows)

Description

Sets the value of a row and column in a DataWindow control
to the specified value.

note.png SetItemTimeByColNum

A separate method name, SetItemTimeByColNum,
is provided as an alternative syntax for the Web DataWindow server
component, which cannot use overloaded methods.

Controls

DataWindow type

Method applies to

Web

Server component (see SetItem for
equivalent client control method)

Syntax

[Web DataWindow server component]

Argument

Description

dwcontrol

The name of the Web DataWindow control
in which you want to set a specific row and column to a value.

row

The row location of the data.

column

The column location of the data. Column can
be a column number or a column name.

value

The value to which you want to set the
data at the row and column location.

Usage

Although JavaScript does not distinguish between the Date,
DateTime, and Time datatypes, the DataStore will give an error if
the wrong type is passed. You can use the SetItemDate and SetItemDateTime methods
to set values in columns with the Date and DateTime datatypes. Because
the Web DataWindow server component does not support overloading,
you must use the SetItemTimeByColNum variant
instead of the standard SetItemTime method when
you want to refer to the column by number.

See Also


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