On Thursday, March 8, 2012 8:52:34 PM UTC-5, Edward Shave wrote: > > Many thanks for reply, unfortunately it didn't work in this instance... I > wonder if it is because the table is referencing itself? > > Anyway I have found the following works but I wonder about the efficiency? > > *db.account.transfer_acc.represent= lambda value:db.account[value].name* >
Yeah, I don't think "format" works for self referencing fields. Anyway, even if it did work, it would be doing the same thing as above, so wouldn't be any more efficient. Anthony