...but you can't use them in .grid and .smartgrid. from the book...
Mind that virtual fields do not have the same attributes as the other fields (default, readable, requires, etc) and they do not appear in the list of db.table.fields and are not visualized by default in tables (TABLE) and grids (SQLFORM.grid, SQLFORM.smartgrid). -Jim On Wednesday, March 13, 2013 4:52:28 PM UTC-5, Derek wrote: > > 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

