Thx Nico, I just figured out that it is indeed a string. However, as soon as I select more than 1 row, it becomes a list. I was under the assumption that it is always a list - appears not to be true.
Perhaps a suggestion to use one single format - list?? Regards Frank p.s. I really enjoy using web2py - starting to appreciate it more and more Op donderdag 30 maart 2017 07:42:52 UTC+2 schreef Nico de Groot: > > Hi Frank, > > This list is very active. I had trouble getting in sync after a week of > absence. In any case welcome! > > The variable is a string like '31' so if you Len() it you get 2. Just use > int() to make it a number. > > Nico de Groot > > -- 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.