Msgbox varname should help. Arent you able to see it ?
Try this,
Try this,
Code:
itemCount = Window("Flight Reservation").Dialog("Flights Table").WinList("From").GetROProperty("items count")
msgbox itemCount
a = RandomNumber(0, itemCount)
msgbox a
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.