But in this case you don't have the id of the referenced record as relation
key... I am not sure it's what you want. But you question is really vague
so difficult to answer correctly to your I think :P

Richard


On Thu, Jul 11, 2013 at 2:21 PM, Anthony <[email protected]> wrote:

> On Thursday, July 11, 2013 1:21:11 PM UTC-4, greenpoise wrote:
>
>> I think I saw some light in here!  this did the trick for me:
>>
>> Field('supplier', 'reference supplier',compute=lambda row: db.series(row.
>> series).supplier**),
>>
>
> Should be the same as:
>
> lambda row: row.series.supplier
>
> assuming row.series is a reference field referring to db.series.
>
> Anthony
>
>  --
>
> ---
> 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 [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to