>
>
> Did you try to call grid.update() method after data set change?
>
>
I do call the update method when I change the dataset. On further
examination, it appears that the bus error only occurs when trying to add
entries to the DataSet... but after a variable number of adds and deletes.
The code for adding an entry is:
def onAddCrit(self, evt):
"""
Called when the add button for a selection criteria is clicked.
Adds the selection criteria to the dataset for the selection grid
but does not add a where clause for the search.
"""
...[get values from fields in the form]...
self.selData.append({"sec":sec, "desc": movtxt, "keys":keys,
"incl":True, "excl":False, "del":False})
self.selGrid.DataSet = self.selData
self.selGrid.update()
Does anyone have any idea what might be causing this?
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
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]