programmerbrian
Programmer
I have a data window with multiple DDW's. Some of the display values should only show for historical records. When the user created a new record, Certain endated items should not appear and thus the user will not be able to select them. I thought that the solution would be to us the setfilter function like this:
dataWindowChild dwchild
dw_detail.getchild("DDW_1",dwchild)
dwchild.setfilter("isnull(end_date)"
dwchild.filter()
dw_detail.getchild("DDW_2",dwchild)
dwchild.setfilter("isnull(end_date)"
dwchild.filter()
This works for filtering the first DDW but it fails on the second.
Any suggestions on how to get this to work for multiple DDW's?
Thanks
dataWindowChild dwchild
dw_detail.getchild("DDW_1",dwchild)
dwchild.setfilter("isnull(end_date)"
dwchild.filter()
dw_detail.getchild("DDW_2",dwchild)
dwchild.setfilter("isnull(end_date)"
dwchild.filter()
This works for filtering the first DDW but it fails on the second.
Any suggestions on how to get this to work for multiple DDW's?
Thanks