Home » Developer & Programmer » Forms » how can i get first item in tab page
how can i get first item in tab page [message #675530] Wed, 03 April 2019 10:55 Go to next message
compuscience
Messages: 97
Registered: September 2012
Member
how can i get first item in tab page as a variable??
Re: how can i get first item in tab page [message #675531 is a reply to message #675530] Wed, 03 April 2019 11:21 Go to previous message
cookiemonster
Messages: 13917
Registered: September 2008
Location: Rainy Manchester
Senior Member
Only way I can see to do that is to go to the first item in the block, check it's item_tab_page property using get_item_property.
If it's not the tab page you're interested in then do a loop like this:
LOOP
  EXIT WHEN get_item_property(:system.cursor_item, nextitem) IS NULL;
  NEXT_ITEM;
  IF get_item_property(:system.cursor_item, item_tab_page) = 'TAB YOURE LOOKING FOR';
    l_first_item_in_tab := :system.cursor_item;
    EXIT;
  END IF;
END LOOP;
Previous Topic: error while getting more than values
Next Topic: FRM-30087: Unable to create form file (Developer 9i)
Goto Forum:
  


Current Time: Thu Mar 28 15:30:47 CDT 2024