Hold that thought, it may be a data issue...
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, November 12, 2008 11:59 AM
To: 'Dabo Users list'
Subject: [dabo-users] Parent-child bizobjs
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
[excessive quoting removed by server]
_______________________________________________
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]