Nope. You should do:

    oderby=db.tablename1.field1|db.tablename2.field2|~db.tablename.
3field3

you can also use expressions:

    orderby=db.tablename1.intfield1+db.tablename2.intfield2-1

    orderby=db.tablename1.stringfield.lower()

    orderby=db.tablename1.datefield.month()

Massimo


On Dec 5, 11:54 am, "Wes James" <[EMAIL PROTECTED]> wrote:
> OK - I got two fields in an orderby to work like this:
>
>  orderby=(db.dbnam.field1,db.dbname.field2)
>
> -wj
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to