Hi, I want to create some small accounting program and am having some issue with creating a proper balance view.
I have 2 tables, one for incomes and one for expenditures, each with the corresponding money and the date of data entry: db.incomes.income_USD db.incomes.calendar_date db.expenditures.expenditures_USD db.expenditures.calendar_date a) How can I create a view, that displays for example the income_USD in a monthly view, weekly view etc? (sum of each month,...) b) How can I calculate the balance (income-expenditures)? My problem is, that sometimes, I don't have entries on one of the tables, so I cannot just subtract each entry. -- 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.