>Hi all,
>I need to order a cursor by a character field that contains numeric values (1,3,4,5,5bis,7..and so on). I cannot change the type of the field, but i want that number 5bis and 6 has a order before than 13. Some trick?
>Thanx
If it is for a report, I would create a calculated field:
select cast(MyCharField as I) as MyNumber, *;
from MyTable;
order by 1;
into cursor Temp
report form ...
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)