something like in pseudocode:

db.define_table('payments',
Field('table', length=9, requires=IS_IN_SET('auth_user','firm'), 
default='auth_user'),
Field('uf_id', db.auth_user or db.firms, requires=IS_IN_DB(db, 
db.auth_user.id or db.firms.id, '%(id)s'),.. .

i know this is wrong, but how can i best do this sort of thing?  lucas

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to