Ed Leafe wrote: > 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.
Is there some way I can see the wiki code working? as in, can I get something I can just run without modification so that I can see what I am doing different. >> 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. right, so my code should have worked, given that my code isn't referencing _CurrentCursor. the only code referencing _CurrentCursor is dabo code inside dBizobj. >> 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. I'm not sure what you think I was getting at... so let me try again: What should happen when rows=None? Carl K _______________________________________________ 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]
