[web2py] Re: Trouble with database?! [closed]

2011-07-13 Thread weheh
Now I feel more than a little stupid. Obviously, I had it as form=SQLFORM(db.mygroup) originally, then added the Field later, which turned SQLFORM into SQLFORM.factory, which causes me to have to insert into the db manually. Must be having a senior moment. On Jul 13, 6:48 pm, weheh wrote: > I'm w

[web2py] Re: Trouble with database?!

2011-07-13 Thread pbreit
Maybe try: 'mygroup%s' % mygroup_id Does SQLFORM.factory return a form.vars.id? I thought only happened when there was a DB insert?