On Tue, Jan 10, 2012 at 1:16 PM, Ross Peoples <ross.peop...@gmail.com>wrote:

> Bruno, I've never tried that way before. Will that cause web2py to create
> a new field "account"?


You are right, I am wrong (forget what I said)

This works only for Rows

rows = db(db.table).select()
for row in rows:
    row.account = row.account_id
    print row.account.first_name


-- 

Bruno Rocha
[http://rochacbruno.com.br]

Reply via email to