bd wrote:
> def onValueChanged(self, evt):
>       print "value changed"
>       print self.Value
>       frm=self.Application.ActiveForm
>       grd=frm.gridts
>       biz=frm.getBizobj(grd.DataSource)
>       biz.setWhereClause("dat='%s'"%self.Value)
        biz.requery()
>       grd.fillGrid()
> 
> I think I have correctly set up the regid for the grid, and I have the
> creatBizobj call in the forms afterinitall eventcode.
> I cannot get the grid filled with the data. If I get the bizobj in
> runtime, and I run the generated sql(CurrentSql) in sqlite, then I get
> several rows.
> 
> What should I try get it working?

biz.requery() right after you set your where clause.



-- 
pkm ~ http://paulmcnett.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]

Reply via email to