بتاريخ: 27 أبريل 200422 سنة comment_6026 declare total_list_count number(2); list_id item; list_count number; current_label1 varchar(50); current_label2 varchar(50); current_label3 varchar(50); list_element1 varchar(50); list_element2 varchar(50); list_element3 varchar(50); loop_index_var number(2) :=1; BEGIN list_id := find_item('years1'); total_list_count := get_list_element_count(list_id); clear_list('years'); /*list_count := get_list_element_count(list_id);*/ current_label1 := get_list_element_label('years1',1); current_label2 := get_list_element_label('years1',2); current_label3 := get_list_element_label('years1',3); list_element1 := Get_List_Element_Value('years1',1); list_element2 := Get_List_Element_Value('years1',2); list_element3 := Get_List_Element_Value('years1',3); /**************/ if list_element1='A' then Add_List_Element('years', 1, '0000','AA' ); Add_List_Element('years', 1, '1995','bb' ); else if list_element2='B' then Add_List_Element('years', 1, '00tt00','vv' ); else if list_element3='C' then Add_List_Element('years', 1, 'yuuygyguuyg','zz' ); end if; end if; end if; /* EXIT WHEN loop_index_var = total_list_count; end loop;*/ END; لقد ادخلت list elements من Elements in List القيم التالية A,B,C في list item "years1" و أريد إذا أخترت بالموس A من list المسميها years1 أن ادخل items أخرى في list ثانية و مسميها years ( انظر الى ال code ) بينما هنا عندي في هذا ال CODE عندما اقوم باختيار اي item فان الشرط الأول هو الذي يتحقق تقديم بلاغ
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.