Loading the DataWindow object – PB Docs 126

Loading the DataWindow object

SetDWObject

The next step is to specify
the PBD or PBL file that contains the DataWindow object and the
name of the DataWindow object. You do not need to specify the location
of the file, but it must be available on the component server in
a directory on the server’s path (or on the system path
if the EAServer component is running
as a service or if you are using COM+):

You can also specify a:

  • Source definition
    (SRD) file containing the source for a DataWindow object. You can
    export a DataWindow definition to an SRD file in the Library painter or
    System Tree.

  • Powersoft report (PSR) file containing a DataWindow
    object plus data. You can save a PSR file from the DataWindow painter.

  • DataWindow Container component on EAServer containing multiple DataWindow
    object definitions

For SRD and PSR files, specify an empty string for the DataWindow
name:

For DataWindow Container components, use the the SetDWObjectEx
method:


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