[web2py] Re: How can i use incremental addition to add altogether the values using computing fields method

2017-11-27 Thread Pierre
it's better to leave aggregate values (sum,avg etc) outside the marks table as every record should reflect an atomic information ( a mark). When you need to aggregate the atoms do it in a controlller-function and pass results to a view for display -- Resources: - http://web2py.com -

[web2py] Re: How can i use incremental addition to add altogether the values using computing fields method

2017-11-27 Thread mostwanted
On Monday, November 27, 2017 at 4:41:20 PM UTC+2, Pierre wrote: > > here: > > http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#sum--avg--min--max-and-len > > and don't be too severe with your students... > I am having an issue, in the process of calculating

[web2py] Re: How can i use incremental addition to add altogether the values using computing fields method

2017-11-27 Thread mostwanted
hahahaha they get what they deserve, *garbage in garbage out*, thanks. On Monday, November 27, 2017 at 4:41:20 PM UTC+2, Pierre wrote: > > here: > > http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#sum--avg--min--max-and-len > > > and don't be too severe with your

[web2py] Re: How can i use incremental addition to add altogether the values using computing fields method

2017-11-27 Thread Pierre
here: http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#sum--avg--min--max-and-len and don't be too severe with your students... -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -