Looping thru items in a block
From: BigM <m.proctor_at_abm-uk.com>
Date: 19 Jul 2002 07:28:32 -0700
Message-ID: <1eae8d2a.0207190628.55b0d2f3_at_posting.google.com>
Hi,
Date: 19 Jul 2002 07:28:32 -0700
Message-ID: <1eae8d2a.0207190628.55b0d2f3_at_posting.google.com>
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
Received on Fri Jul 19 2002 - 16:28:32 CEST