Ok this is my code in basic syntax
Dim Amt1 As Number
Dim count1 As Number
count1 = 1
Amt1 = (Nthlargest(1, {TAirTrans.FATrFare},{TAirTrans.FATrSINo}))
Do while Amt1 <> Nthlargest(count1, {TAirTrans.FATrFare},{TAirTrans.FATrSINo})
count1 = count1 + 1
Loop
formula = count1
but when I look for errors it points at the count1 in the second nthlargest and says that a number is expected here well I defined it as a number didnt I???
Halp@!
Dim Amt1 As Number
Dim count1 As Number
count1 = 1
Amt1 = (Nthlargest(1, {TAirTrans.FATrFare},{TAirTrans.FATrSINo}))
Do while Amt1 <> Nthlargest(count1, {TAirTrans.FATrFare},{TAirTrans.FATrSINo})
count1 = count1 + 1
Loop
formula = count1
but when I look for errors it points at the count1 in the second nthlargest and says that a number is expected here well I defined it as a number didnt I???
Halp@!