Re: [dabo-users] SQL Builder versus UserSQL

Author: Ed Leafe

Posted: 2007-09-01 at 12:10:18

On Sep 1, 2007, at 1:05 PM, dw wrote:

> However, my grid is filled with a dataset that is a child of the

> PrimaryBizobj,

> so the field alias and other grid fields are not listed with

> print self.PrimaryBizobj.getDataSet()[0].keys()

OK, then we need something other than PrimaryBizobj.

biz = self.getBizobj("your_bizobj_name")

print biz.getDataSet()[0].keys()

Change "your_bizobj_name" to the DataSource of the bizobj in question.

-- Ed Leafe

-- http://leafe.com

-- http://dabodev.com

©2007 Ed Leafe