Hello, I can't understand this simple problem.
tracker = db.usage_tracker.insert(client = 6728, product_group = 2, product = 15) nothing appears in the database. ID counter is updated. If I look at db._lastsql I get INSERT INTO usage_tracker(logged_in,product,client,product_group) VALUES ('2018-04-23 01:51:34.001992',15,6728,2); this is in a normal controller. If I put the same tracker = db.usage_tracker.insert(client = 6728, product_group = 2, product = 15) in an own function in controller it works. Kenneth -- 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.