Thanks you both for your replies, I don't know which solution to choose :-( At the moment groups don't have 100+ members but that might change in the near future I suppose in that case effectiveSize=row.effectiveSize-1 is faster than effectiveSize = db(db.groups.id==session. groupID).count() isn't it? However, the latter will always result in the correct value.
Kind regards, Annet -- --- 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.