Hi,
I am wanting to process all items within a block and set the visual attribute according to a value retrieved from the database. This to be done on when-new-block-instance.
Code is as below but using next_item triggers of validation etc.....is there any other way of looping through items in a block?
WHILE vCurrItem != vLastItem
LOOP
SET_ITEM_PROPERTY SYSTEM.current_item, VISUAL_ATTRIBUTE, 'RED');
NEXT_ITEM;
END LOOP;
TIA
BigM
I am wanting to process all items within a block and set the visual attribute according to a value retrieved from the database. This to be done on when-new-block-instance.
Code is as below but using next_item triggers of validation etc.....is there any other way of looping through items in a block?
WHILE vCurrItem != vLastItem
LOOP
SET_ITEM_PROPERTY SYSTEM.current_item, VISUAL_ATTRIBUTE, 'RED');
NEXT_ITEM;
END LOOP;
TIA
BigM