I have a form with a primary, child, and grandchild bizobjs. On the form I
show primarybizobj info and have two grids, one for the child and another
for the grandchild.  All data is in the same table and I am using a level
field to designate parent, child and grandchild levels (0,1 and 2)
respectively.

In my child bizobj, I current have self.addWhere("nlevel=1") and
self.addWhere("nlevel=2") for the grandchild.  This works fine if I choose a
parent with nlevel=0.

What I want to do is reset the child and grandchild where clauses to
dynamically adjust to the level of the record in the primarybizobj, so if I
choose a record of level 1 as my parent, then the first grid would show the
level 2 data and the second show level 3 (if any).

Any suggestions?

Larry Long



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to