I have one more question. Let's suppose I pressed the Search button
once, the data was filtered and redisplayed for me. At this moment,
let's introduce some details: there are some textboxes, which I am
getting expressions from. So, I have:
def onHit(self, evt):
grd = self.Form.cltable
usrVal = self.Form.usernameEdit.Value
biz = self.Form.getBizobj(grd.DataSource)
if usrVal:
biz.filter("username",usrVal,"contains")
biz.filter("state",True,"eq")
grd.update()
And, I want to change the username in the textbox, press again Search
and obtain another result, that is, data. But I have just an empty grid.
I suppose that the dataset should be reinitialized(?) somehow. But how
can I do it?
--
Respect,
Stanislav Colotinschi.
_______________________________________________
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/[email protected]