Hi,
I have One to Many ( tableA 2 tableB ) relation in tables. I need to
be able choose ( in dropdown menu ) only these records from tableB
with are related to single record from tableA
In tableB I have information about related record in tableA, and in
tableA I have one related record from tableB ( I need this relations )
I tried like:
db.tableA.current.requires=IS_NULL_OR(IS_IN_DB(db
(db.tableB.parrent==
db.tableA.id),'tableB.id','tableB.id',error_message="..."))
I have no idea what should I have in db.tableB.parrent==
db.tableA.id.
With or without that is the same result ( work's fine but doesn't
filter my results )