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

Data Linker sample – PB Docs 2021 – PowerBuilder Library

Data Linker sample – PB Docs 2021

Data Linker sample

When you first run the Data Linker, no data displays on the
right side of the window.

tvlink.gif

To use the Data Linker, you first expand an employee name and a
company’s data in the TreeView DataWindow.

expand.gif

Expanding the TreeView displays the company names, the orders
for the company you select, and in the detail band, the icon and name
for each item in the order.

You can click on each of the TreeView levels in order, and then
click in the detail band to display the details in the four
DataWindows on the right.

For example, if you click first on Catherine Pickett, then on
Avon Inc., then on 2073, and last on Baseball Cap, the data in each of
the related DataWindows displays on the right. You can also update the
data in each of the DataWindows.

tvlinkex.gif

Data Linker TreeView
DataWindow

Here is the TreeView DataWindow used in the Data Linker
sample.

dwsales2.gif

One TreeView DataWindow

The Data Linker uses one TreeView DataWindow, but other
DataWindows that are not TreeView DataWindows also support the Data
Linker’s functionality.

Data Linker code

The code in the Clicked event uses GetBandAtPointer to determine
which DataWindow to display.


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