hi,

i would like to insert a values to a table  through form where user
can enter fewer fields.

for example i have table 'company'  which has fields
userid,compname,designation,location.

 form = SQLFORM(db(db.company),fields=
['compname','designation','location'])

 userid is stored in session as session.userid

 in this case user can enter 3 fields through form but i want userid
also to be updated at the same time in to company table.

can some one help me how to update all 4 fields at a time.

thanks
durga
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to