You'd add a virtual field for that.

http://web2py.com/books/default/chapter/29/06#Virtual-fields

On Wednesday, March 13, 2013 2:40:06 PM UTC-7, Alex Glaros wrote:
>
> can anyone point to any examples where there is a running count of detail 
> records for each parent?
>
> Parent_one     link_to_child   3 records
> Parent_two     link_to_child   0 records
> Parent_three   link_to_child   10 records
>
> this is so that users don't have to click on the Parent_two link to find 
> out there are no child records for that Parent
>
>
>
>
> On Wednesday, March 13, 2013 7:08:29 AM UTC-7, software.ted wrote:
>>
>> Is there a way to change the labels of the tables in the generated 
>> breadcrumbs of the SQLFORM.grid as well as the link pointing to the linked 
>> tables to something custom.
>>
>>
>>
>> -- 
>>
>> .......................................................................................
>> Teddy Lubasi Nyambe
>> Opensource Zambia
>> Lusaka, ZAMBIA
>>
>> Cell: +260 97 7760473
>> website: http://www.opensource.org.zm
>>
>> ~/
>> Human Knowledge belongs to the world! - AntiTrust
>>
>> Man is a tool-using animal. Without tools he is nothing, with tools he is 
>> all - Thomas Carlyle 1795-1881
>>
>> /~ 
>>
>

-- 

--- 
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/groups/opt_out.


Reply via email to