Hello Anthony, Thanks very much for your reply.
I posted more info including the traceback in my reply to Richard. Please kindly take a look. Thanks again. Cheers, Joe On Thursday, June 16, 2016 at 3:36:31 AM UTC+8, Anthony wrote: > > And full traceback. > > On Wednesday, June 15, 2016 at 2:53:20 PM UTC-4, Richard wrote: >> >> I think we would need more details, web2py version, more code, click on >> ID number?? in grid? >> >> Richard >> >> On Wed, Jun 15, 2016 at 1:36 AM, Joe <degrou...@gmail.com <javascript:>> >> wrote: >> >>> I can't understand what could possibly cause this. When I submit the >>> form, the form is processed, the page is redirected, email sent and the >>> records stored in the DB table as expected. >>> But, when I click on the ID number of the row in the table, trying to >>> access the records, as I always do, I get a <type 'exceptions.KeyError'>. >>> >>> The form in the controller: >>> form = SQLFORM(db.table_name) >>> >>> This never happened before, so I have no idea what the problem is. Can >>> anyone help me with this? >>> >>> Thanks very much. >>> >>> Joe >>> >>> -- >>> 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+un...@googlegroups.com <javascript:>. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- 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.