Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
So this...
? PADL(1,3)
? PADL(12,3)
? PADL(123,3)
Will look like this...
1
12
123
INDEX ON PADL(ALLTRIM(grade), 10, '0') TAG grade
Hi everyone... i have grade as field as character which are 0,1,2,3,4,5,6,7,8,9,10,11,12.... but everytime i sort using set order , order by and index... it display 0,1,10,11,12,2,3,4,5,6,7,8,9.... may i ask how to sort from 0-12? thanks and advanced....
If you need to sort a view or a cursor, you can add an additional field to it INT(VAL(grade)) AS igrade_sort. If you need to order a table then you need to create an index, like it was suggested above. I am using it all the timeHi everyone... i have grade as field as character which are 0,1,2,3,4,5,6,7,8,9,10,11,12.... but everytime i sort using set order , order by and index... it display 0,1,10,11,12,2,3,4,5,6,7,8,9.... may i ask how to sort from 0-12? thanks and advanced....
index on str(val(grade),2) tag tag1Hi everyone... i have grade as field as character which are 0,1,2,3,4,5,6,7,8,9,10,11,12.... but everytime i sort using set order , order by and index... it display 0,1,10,11,12,2,3,4,5,6,7,8,9.... may i ask how to sort from 0-12? thanks and advanced....