IMHO you copy/pasted one time too much. when you feel there's a bug, start with a smaller example and reiterate...
the links argument accepts """ a list of dict(header='name',body=lambda row: A(...)) """ Your code holds a couple of parenthesis more than needed, so the argument to the lambda is not a single element but a tuple i.e. instead of doing dict(header='name',body=lambda row: A(...)) you're doing dict(header='name',body=lambda row: *(*A(...)*)*) notice the *()* parenthesis That's why link['body'](record)[0] resolves the bug in your code. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.