> > _getRecord ret = self._cursorRecord = dabo.db._getRecord(self)
> > AttributeError: 'module' object has no attribute '_getRecord'
> > Code line in ''dCursorMixin()' is:
> > ret = self._cursorRecord = dabo.db._getRecord(self)
 
Please try moving a little code
statBizObj = PublicStatBizobj(oConn)
distBizObj = PublicDistBizobj(oConn)
distBizObj.ParentLinkField = 'statid'
distBizObj.LinkField = 'statid'
distBizObj.FillLinkFromParent = True
statBizObj.addChild(distBizObj)
You do not need to distBizObj.requery() - it is the child of the parent (stat) 
and the requery it is done for you in Dabo.
Also I believe you wanted to show all the records from 'dist' with the 
associated 'statid'.   I thought you understood
you needed to add a third datasource.  I believe I provide several ways to get 
that done.  Or you could reverse the
parent and child relationship and display all of the records from dist in a 
grid.  If the number of records in 
dist will be small (less than 1000) you will not have to touch the 'limit'.
Johnf 
=============================
Dear All,
I think I am jumping too much in trial phase of bizobj with web2py.
Till I get a handle on bizobj, let me use tempcursor (as john has shown) for 
initial populating the data.
Then I will try to fetch records from parent & master tables.
At that time, if stuck-up, I will post my query here.
Thanks for sharing your time & brains.
---Vineet=============================

--- 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/[email protected]

Reply via email to