how to do an orderby where in this case the first field is actually a 
string field that stores like 11th or 1st, where in the orderby i want to 
trim off the last two characters, then orderby those integers, or something 
like

rows = db(tCt.id>0).select(orderby=int(tCt.circuit_short[:-2]) | tCt.county)

which bugs right now but how do i do it without it bugging?  thanx in 
advance.  lucas

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to