Thank you, Massimo. the following works fine.
locs=[row for row in dept_locs if row in todept_locs] is as_dict() not mandatory all the time? Please, explain. Regards, Ashraf -- --- 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/groups/opt_out.