[web2py] Re: reference auth_user from a table in one database to the auth_user table in another database

2014-10-23 Thread Niphlod
you can't reference fields from different databases. On Thursday, October 23, 2014 3:07:50 PM UTC+2, Carl Petersen wrote: > > Hello, > > I'm trying to reference the auth_user table in one database from a field > definition for a table in a different database. Hopefully the code below > will cl

[web2py] Re: reference auth_user from a table in one database to the auth_user table in another database

2014-10-24 Thread Dave S
On Thursday, October 23, 2014 7:11:19 AM UTC-7, Niphlod wrote: > > you can't reference fields from different databases. > > To work around that, you'd do a select on db1 to get the data you want, and then an update on db? /dps > On Thursday, October 23, 2014 3:07:50 PM UTC+2, Carl Petersen