PowerBuilder - 重复值抑制列表不适用于某些数据窗口列

时间:2018-05-13 14:27:31

标签: powerbuilder datawindow

我试图压缩数据窗口中的某些列。我已经在支持列表中拖动了这些列,如下所示。

MDN's DOM documentation

但不幸的是,当我运行数据窗口报告时,特定值在总纸箱和总托盘列中未在结果集中被抑制。下面突出显示的值应该按预期被抑制,因为它是重复的值。

上面提到的列无法抑制重复值的原因可能是什么? 关于如何解决的任何想法或输入? 谢谢。

enter image description here

1 个答案:

答案 0 :(得分:1)

I think I understand that your data is hierarchical.

When I present a hierarchy, I use the group presentation style. I group related information together in the group band and then it will display once per group. In your example, I might create more than one group; Group Pack Key, Group Pack HU, Group Delivery No. It appears to me that Total Carton and Total Pallet would appear in the Group Pack Key band. Play around with it.

Can two sales orders be mixed in the same carton/pallet? You may need guidance as to how the user wants to see the logistics information mixed with the order information.

Sort your data to conform to your group hierarchy otherwise you may get unexpected results.

In datawindow painter, click menu Rows~Create Group...

Here is an example:

enter image description here

Find more information on using group presentation style here: http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc00844.1252/html/pbug/BFCCGFFF.htm