Hi, I don't understand why considering the usual : db.define_table (person, Field('name'),format='%(name)s') db.define_table (dog, Field('name'),Field('owner_id',db.person)
Using this is okay : db.dog.owner_id.represent=lambda id,row:db.person(id).name But using this fails : db.dog.owner_id.represent=lambda id,row:db.person(id)._format I guess it has to do with the fact that *db.person(id).name* and * db.person(id)._format* are not the same type? I didn't find any example yet helping me to find out the problem? Thanks!