开发者

Powerbuilder: what to code in the pfc_retrieve() event when using FILTER style linkage

I have two master-detail datawindow which are linked through pfc's linkage service. Now I have read in the documentation that when using FILTER开发者_如何学C style retrieval code must be placed inside the detail window's pfc_retrieve event.

What code/function call should I place there so that when the master windows's retrieval has been finished, the detail window's data are also retrieved?


It depends on what the detail DataWindow is displaying. You want to populate the detail with whatever data goes with the master. If the detail contains the definition of terms, you might retrieve the entire table of term definitions. If the detail depends on the retrieval arguments of the master, the detail will need to use some or all of them in the select, and you would pass them when you retrieve it in pfc_retrieve.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜