On Apr 26, 2007, at 12:41 PM, Carl Karsten wrote:
> fist line of code on that page:
> custDS = customerBizobj.getDataSet()
>
> Given that my code didn't work, does that code work?
That code works. I didn't dig enough to determine why yours didn't.
> Better. gets rid of the ._Attr reference.
That's the whole point of the underscore prefix. If you're
referencing them, you're almost always doing something wrong.
> Seems dabo.biz.dBizobj.getDataSet() should have also worked. Looks
> like
> BO.getDataSet() just calls cursor.getDataSet().
>
> Any idea why it didn't?
It calls self._CurrentCursor.getDataSet(). _CurrentCursor is a
property that should not be referenced outside of dBizobj, hence the
initial underscore.
> The docscrings should include what happens when rows=None (looks
> like all rows
> returned, but I am not sure what happens when you specify
> rowStart=5, rows=None.)
I guess they should also include what happens if you specify
rows="Flower", or rows=time.localtime(), but I guess I was too busy
to worry about meaningless cases.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
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]