![]() |
Sergey Kornilov admin 5/24/2013 |
Try the following order by: ORDER BY CDbl(t.cuppts) desc
|
![]() |
lefty author 5/24/2013 |
Try the following order by: ORDER BY CDbl(t.cuppts) desc
|
![]() |
lefty author 5/24/2013 |
Thanks Again . Got it working properly. Here is the sql I used. SELECT (SELECT count(*) + 1 from Cup where CDbl(cuppts) > CDbl(T.cuppts))AS Rank, CDbl(T.cuppts), T.fldlast, T.LastUpdated, T.ID FROM Cup AS T ORDER BY CDbl(T.cuppts) Desc For those of you who use this . If you want to add decimals in visual editor.view as a number only and edit as text only with no validation. Remember to add the decimals points to the right . I suggest this be moved over to Tips And Tricks. This can be helpfull to some members. Here is the final link to see it in action : Total Cupoints and Rank ( using text field ) |