Ah so! Got it!

membertableBizobj = MembertableBizobj(self.Connection)

just set a LOCAL variable membertableBizobj, not a property of the form whereas

self.membertableBizobj = MembertableBizobj(self.Connection)

sets a form property which I can use later.

I was "assuming" that the addBizobj() method would assign a form property 
as it does in VFP.

I presume that the code should really read:
self.membertableBizobj = MembertableBizobj(self.Connection)
self.addBizobj(self.membertableBizobj)

(adding the self. in front of the membertable).

I tried the latter method you mentioned with getBizobj and I now have a 
combo box.

Thanks guys.

At 02:12 AM 2007-04-02 +0200, you wrote:
>Larry Bradley wrote:
> > Well, I'm having a problem:
> >
> > In the form's createBizobs method, after defintion of the bizobj, I have:
> >
> >          membertableBizobj = MembertableBizobj(self.Connection)
> >          self.addBizobj(membertableBizobj)
> >
>
>Use either:
>
>self.membertableBizobj = MembertableBizobj(self.Connection)
>self.addBizobj(membertableBizobj)
>and later:
>self.cboMemberCategory.Choices,self.cboMemberCategory.Keys =
>self.membertableBizobj.getAvailableTypes()
>
>or:
>
>membertableBizobj = MembertableBizobj(self.Connection)
>self.addBizobj(membertableBizobj)
>and later:
>self.cboMemberCategory.Choices,self.cboMemberCategory.Keys =
>self.getBizobj(dataSource="yourdatasourcedate").getAvailableTypes()
>
>Uwe
>
>_______________________________________________
>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/dabo-users/[EMAIL PROTECTED]

Larry Bradley
Orleans (Ottawa), Ontario, CANADA 

--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
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/dabo-users/[EMAIL PROTECTED]

Reply via email to