Hello!
I want to make a simple form in dabo class designer.
I have a one table database with a dat field containing a datum.
I have made a form with class designer which contains a grid and a
datetext control.
My code to the datetextcontrol is:
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)
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?
Thanks
Daniel
_______________________________________________
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]