In db.py I have a table Address which references a table Organization to 
display the organization name rather then the nodeID I set a validator:

db.Address.nodeID.represent=lambda nodeID, row: 
db(db.Organization.nodeID==nodeID).select().first().name

In 'database db select' Address.nodeID is represented by name, however, 
when I select a row, in 'database db table Address record id 1' the nodeID 
isn't represented by the name, why not?


Kind regards,

Annet


Reply via email to