>>SELECT TOP 2 posR FROM PageTwo ORDER BY posR DESC INTO ARRAY Maxrows >>nfisrtposR=Maxrows(1) >>nSecondposR=Maxrows(2) >>>>
>lnRows = _tally > >if m.lnRows > 1 > nFirstPosR = maxRows[1] >else > nFirstPosR = some default value, you can also display a message >endif > >if m.lnRows = 2 > nSecondPosR = maxRows[2] >else > less than 2 rows - work this condition >endif >