i'm not sure how this is going to work
db.student.t2id won't even exist yet for the db().select()....
hmmm
On Tue, Dec 9, 2008 at 9:52 PM, Wes James <[EMAIL PROTECTED]> wrote:
> Ok.
>
> I changed:
>
> f db(db.student.id==t2.person_id).select():
> form=t2.update(db.student,db.student.id==t2.person_id)
>
> to this:
>
> f db(db.student.t2id==t2.person_id).select():
> form=t2.update(db.student,db.student.t2id==t2.person_id)
>
> where t2id is the id that needs to take the t2.person_id.
>
> never mind - i think i can just put that in the form when it comes up, i.e.
>
> <input name=t2id type=hidden value={{db.t2.person_id}}>
>
> or something like that.
>
> -wj
>
> how do I do that?
>
> On Tue, Dec 9, 2008 at 4:37 PM, Wes James <[EMAIL PROTECTED]> wrote:
>> I have:
>>
>> db.student.id.default=t2.person_id
>>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---