thank you, it works great On So, 2009-01-10 at 08:54 -0800, mdipierro wrote: > replace : > > row.customer_id > with: > > db(db.customer.id==row.customer_id).select()[0].name > > On Jan 10, 10:23 am, Julius Minka <[email protected]> wrote: > > db.invoice.represent=lambda row: DIV( > > SPAN(TD(A(row.invoice_nr,_href=t2.action('display',[row.id]))),_class="col1",_width="80px"), > > SPAN(TD(row.date.strftime("%d.%m.%Y")),_class="col1",_width="80px"), > > SPAN(TD(row.customer_id),_class="col1",_width="80px")) > > > > on last line I would like to display not the id, but the referenced > > "customer.name" > > > > I couldn't find it in the archive. > > julius > >
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

