> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Ed Leafe
> If the points are dependent on the selected curve, you need to
> establish the relationship between the buisness objects. So
> first you
> need to add the points bizobj to the curve bizobj as a dependent
> child, using code like this (substitute the actual field names):
>
> pointsBizobj = app.biz.Pumppoints(app.dbConnection)
> primaryBizobj.addChild(pointsBizobj)
> pointsBizobj.LinkField = "curveFK"
Did this in FrmPumpCurves.afterInit:
#Setup the relationship to the points table
app = self.Application
self.pointsBizobj = app.biz.Pumppoints(app.dbConnection)
primaryBizobj.addChild(self.pointsBizobj)
self.pointsBizobj.LinkField = "curve_id"
Now when I run the app and select the curves form, I see an 'Edit' tab
for the points table. But when I click on the tab I get the following
error:
Dabo Info Log: Thu Nov 09 12:10:12 2006: bizobj for data source
pumpPoints does
not exist.
But app.biz.Pumppoints does exist.
Robert
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users