Filter the LOV values
638062Jun 16 2010 — edited Jun 17 2010Hi,
I have a field for which I need to get a list of values. So i have the following piece of code in the on-button-press button next to the field -
go_item('Myblock.Location'); do_key('List_values');
This would display the list of values for location, as long as the input focus is in a text item that has an attached LOV.
My problem is that i need to dynamically pass the region value to this LOV and the LOV should be filtered based for on that. For example if I have a region field selected as India I want the LOV for locations to be filtered to show only locations in India. So I want to dynamically pass the region value and filter the locations LOV.