Paul McNett wrote:
> 
> Just instantiate more than one instance of the bizobj, and work with 
> them independently. You'll have to give them unique DataSource 
> properties, however, so that dForm doesn't get confused. Example:
> 
> {{{
> from bizcats import BizCats
> 
> class MyForm(dabo.ui.dForm):
>    def afterInit(self):
>      app = self.Application
>      self.bizCatsAll = BizCats(app.dbConnection, DataSource="cats_all")
>      self.bizCatsSome = BizCats(app.dbConnection, DataSource="cats_some")
>      self.addBizobj(self.bizCatsAll)
>      self.addBizobj(self.bizCatsSome)
> }}}
> 
> Now, set the DataSources of your 2 grids appropriately.
> 
> Paul
> 

So the DataSource name doesn't have to match the table name?
They are just arbitrary descriptive names?
I was under the assumption yhat they were the actual table name. The 
table(s) used are what is defined in the FROM statements in the biz object?

Do I understand correctly now?

Thanks

Paul McNary
[EMAIL PROTECTED]


_______________________________________________
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