Dim i ,b
For i=1 to 3
Select Case i
Case 1 b=datatable.GetSheet("Global").GetParameter("A").ValueByRow(1)
'"Business"
Case 2 b=datatable.GetSheet("Global").GetParameter("A").ValueByRow(2)
'"First"
Case 3 b=datatable.GetSheet("Global").GetParameter("A").ValueByRow(3)
' "Economy"
End select
Window("Flight Reservation").WinRadioButton("text:="&b).SetTOProperty "text",b
Window("Flight Reservation").WinRadioButton("text:="&b).Set
Exit for
Next