It seems that you are using two DBs (db and dblc). In my experience, you cannot make relationships across two distinct DBs.
Suggestion: 1. Create a set of all the lc_vw_lc_master.lc_no possibilities 2. Create a normal string field for pm_events.lc_no with a IS_IN_SET validator. If the record set for 1. is large, you can cache it. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/c2491caf-5c8b-4033-bf8b-3d27f27d264co%40googlegroups.com.

