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

SetDWObject (obsolete) – PB Docs 2022 – PowerBuilder Library

SetDWObject (obsolete) – PB Docs 2022

SetDWObject (obsolete)

Description

Specifies the DataWindow library and object that the Web DataWindow
server component will use for generating HTML.

Obsolete method

SetDWObject is obsolete and should not be used, because the Web
DataWindow technology is obsolete.

Applies to

DataWindow type

Method applies to

Web

Server component

Syntax

Web DataWindow server
component

Argument

Description

dwcomponent

A reference to a Web DataWindow server
component.

sourcefile

The name of a PowerBuilder library (PBL) or dynamic
library (PBD) containing DataWindow object
definitions

or

A source definition file
(SRD)

or

A Powersoft report (PSR)
containing a DataWindow object definition and
data.

The file must be located in the file system of
the machine hosting the server component.

dwobjectname

When sourcefile is a PBL or PBD, the name of a
DataWindow object in the library.

When sourcefile is a
PSR or SRD, dwobjectname should be an empty string
(“”).

Return value

Returns 1 if it succeeds and -1 if an error occurs.

Examples

This example identifies the library and DataWindow object for the
server component called dwGen:

See also

Generate

SetAction


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