Connecting and retrieving data – PB Docs 126

Connecting and retrieving data

To connect and retrieve data, you must write a script. The
script can belong to a Retrieve button, or you can have the retrieval
occur automatically by putting the code in the window’s
onLoad script.

For example, to connect and retrieve data for a Web ActiveX
named dw_1, using a DataWindow Transaction
Object control named trans_1, your
script would be similar to this:

When you use the internal transaction properties, the Web
ActiveX makes the connection automatically. The script can be simpler,
like this:


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