1. Get rid of all advertisements and get unlimited access to documents by upgrading to Premium Membership. Upgrade to Premium Now and also get a Premium Badge!

Unable to change Text color of all Bill_to in Address level on Customer Form

Discussion in 'Oracle Forms and Reports' started by venki8286, May 1, 2015.

  1. venki8286

    venki8286 Guest

    Hi All,

    My Requirement: I want to change Text color of all Bill_to Addresses in Address level on Customer form

    Here is code which i used:

    IF form_name='ARXCUDCI' AND block_name ='CUST' THEN

    clr_customer_id := NAME_IN ('CUST.CUSTOMER_ID');

    IF block_name ='ADDR' and (event_name='WHEN-NEW-BLOCK-INSTANCE') THEN

    FOR clr_cur IN c6 (clr_customer_id) LOOP

    FOR clr_cur2 IN c7 (clr_customer_id) LOOP

    IF clr_cur.address_id = clr_cur2.address_id and clr_cur.concatenated_address = clr_cur2.concatenated_address THEN

    cur_itm := Get_Block_Property('ADDR',FIRST_ITEM);

    cur_itm := 'ADDR.concatenated_address';

    set_item_property(cur_itm, FOREGROUND_COLOR, 'r255g0b0');

    END IF;

    END LOOP;

    END LOOP;

    END IF;

    END IF;

    Can anybody help me.


    ---

    Venkatesh