The print Row isn't really ordered as it mostly just prints row.as_dict and dicts aren't ordered.
sqltable when you don't specify columns uses rows.colnames so if anything this may be a DAL bug if colnames aren't coming in the order they are defined and it's expected that they do. For now I would give SQLTABLE the columns keyword argument with a list of the field names in the correct order. Afterwards maybe you should raise an issue with pyDAL as I think it's reasonable for someone to assume Rows.colnames will come in the order the fields are defined. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.