IS_IN_DB() does what format do, but you have to repeat it over each table
in which you refer to your product table...

Richard

On Wed, Jul 8, 2015 at 10:51 AM, Richard Vézina <[email protected]
> wrote:

> You are right about format... I am just not sure you can do what you want
> with it... But with a lambda and IS_IN_DB() you can for sure...
>
> Richard
>
> On Wed, Jul 8, 2015 at 2:50 AM, Mirek Zvolský <[email protected]> wrote:
>
>> I am busy now and will make experiments later. And write the results here.
>>
>> About format/represent from the book (if I understand this properly):
>> Format is default value for represent assigned to foreign keys which link
>> such table
>>
>> --
>> 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 [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

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

Reply via email to