Hide a Field in Repeating Subform ??
I ve created a Purchase order which contains a repeating subform. The Subform contain a line item and a delivery Date and tracking number for that line item. What i m trying to achieve is Hide the tracking Number field when there is no data being populated.
Script I am using to do this is form Calc:
if ($record.MAIN.ITEM.DATA[*].BEDNR == null).
then data.MAIN.ItemRow.END.TRACK.presence = "hidden"
The problem i have it works fine with one line item but more line items then one it seems to go wrong. What happens is when there is no data populating in the tracking number binding then all the line items are hidden even if there is tracking number being populated in the second line item.
How can i rectify this issue pls help