[web2py] Re: DAL _before_update callback

2017-01-12 Thread Dave S
On Thursday, January 12, 2017 at 7:53:05 AM UTC-8, lyn2py wrote: > > Well... after taking time out to write the entire story... my mistake. > The first step in code reviews is publishing the code :-) Does a lot to clarify the mind! Glad you found the issue and got it sorted, and thanks for

[web2py] Re: DAL _before_update callback

2017-01-12 Thread lyn2py
Well... after taking time out to write the entire story... my mistake. In define_tables > Field, I assigned it (a long time ago) as "string" instead of "integer". So the comparison was switched around, because it was comparing a single digit, e.g. 5, to a double digit number, like 15. It's all