like this : myvar="toto" for row in dbRH(dbRH.test.login==myvar).select(): firstname = row.firstname
the sql request doesn't work beacause myvar does not exist in sql but in python. so i don't know how to do Le mercredi 16 septembre 2015 16:20:11 UTC+2, Leonel Câmara a écrit : > > What do you mean it doesn't work? Can you show us how you tried to replace > it? > -- 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.