Hi Angelo,

I am glad you solved your problem.

I found a way to add automatically variables to form.vars, hope this helps!
>
> record = db(...).select().first()
>
> for table in [db.table1, db.table2]:
>             for field in table.fields:
>                 form.vars[field] = record[table][field]
>


I'll give it a try, thanks.

Annet. 

-- 

--- 
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.


Reply via email to