Hi,
ClassDesigner creates business objects such as:
def createBizobjs(self):
class PublicapvendorBizobj(dabo.biz.dBizobj):
def afterInit(self):
self.DataSource = "public.apvendor"
publicapvendorBizobj = PublicapvendorBizobj(self.Connection)
self.addBizobj(publicapvendorBizobj)
Normally, that works and be accessed by getBizobj("public.apvendor"). In my
lookup dialog I use business objects from the calling form. It occurs to me
that I might want to create a business object that re-uses the same table.
But in doing so I no longer can access the first business object by passing
the table name. This does not only apply to my lookup dialog but any form
created by the ClassDesigner.
IOW I don't see how to use the same table twice within a form that was created
by the ClassDesigner. Why would I do this? So I wouldn't move the record
pointer in the first dataset and trigger any saves or what ever.
--
John Fabiani
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev