Code:
Rcount=Window("Flight Reservation").Dialog("FlightsTable").WinList("From").getroproperty("itemscount")
msgbox Rcount
Dim x
ReDim x(Rcount)
For i=0 to RCount-1
Text=Window("Flight Reservation").Dialog("Flights Table").WinList("From").GetItem(i)
x(i)=Text
NextThe above code will help u to get the data from winlist view to an array.
now u can use regular expressions to filter the data as per your requirement
to find the cheapest flight use right() function and move the values into another array and compare the values of the array

