Thanks

On Friday, November 9, 2018 at 2:14:55 PM UTC+2, tim.n...@conted.ox.ac.uk 
wrote:
>
> You set the default in client:
>
> db.define_table(
>     'client',
>     Field('city', db.city, default='Value here'),
> )
>
>
> On Friday, 9 November 2018 04:59:23 UTC, mostwanted wrote:
>>
>> if i have 2 table client and city and have city referenced in client, how 
>> do i set a default value for city that will appear in client?
>> I tried setting default in city hoping it will show as a default value in 
>> client but its not showing!
>> I hope this explanation of the problem is clear enough it doesn't need a 
>> code example.
>>
>> Thank You
>>
>> Mostwanted
>>
>

-- 
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.

Reply via email to