>>AND I GET THIS ERROR :>>ERROR at line 1:>>ORA-06533: Subscript beyond count>>ORA-06512: at line 7>>>>WHAT COULD BE BEYOND COUNT HERE AS THE STRING'SIZE RESPECT THE>>DECLARATION ?>>>>THANK YOU ALL.>>>>http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96624/05_colls.htm#14218>>you need to "extend" the collection -- you set it up "empty" -- with zero>elements.>>>>DECLARE>>>>c_tab SEARCH_X := SEARCH_X();>>c_count number (5);>>>>BEGIN>>c_tab.extend;>>>c_tab(1).ID := '100000';>>c_tab(1).VALUE := 'TRYING TO TEST ';>>>that would work.>>