I see, thanks for your explanation.

Cheers,

Thomas


On Sat, Dec 24, 2011 at 12:06 AM, Richard Vézina <
[email protected]> wrote:

> Maybe an error in the book... Table_name has to be present for
> disambiguation in case there the same field name is present in many
> table... Imagine you use viritual field in the context of a join where your
> other table having the same field name is joint into that request...
>
> Richard
>
>
> On Fri, Dec 23, 2011 at 9:09 AM, Thomas Dall'Agnese <
> [email protected]> wrote:
>
>> It works, thanks!
>>
>> In the examples, they can call directly row.field_name.
>> Why do I have to specify the table name as well in my case?
>> (row.tablename.fieldbame)
>>
>> Is it a mistake in the book or is my case different than the examples?
>> Book example:
>> http://www.web2py.com/book/default/chapter/06#New-style-virtual-fields-(experimental)
>>
>
>

Reply via email to