Sorry, I guess I shoud proof read a little more... It does not matter if I save changes or not. Also, I am getting a similar error when just changing records and the new grid rowcount< old grid rowcount.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, October 10, 2007 10:28 AM To: 'Dabo Users list' Subject: [dabo-users] Exception Ed, Got the following exception when I had a grid, made changes to underlying data, cleared, and said no to save changes... At the time row was=7 but apparently the data had already been cleared. File "d:\pyProject\pyProject\LotsMfrm1.py", line 1492, in <module> app.start() File "d:\dabo\dabo\dApp.py", line 296, in start self.uiApp.start(self) File "d:\dabo\dabo\ui\uiwx\uiApp.py", line 262, in start self.MainLoop() File "c:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 7786, in MainLoop wx.PyApp.MainLoop(self) File "c:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 7147, in MainLoop return _core_.PyApp_MainLoop(*args, **kwargs) File "d:\dabo\dabo\ui\uiwx\dGrid.py", line 307, in IsEmptyCell return not bizobj.getFieldVal(field, row) File "d:\dabo\dabo\biz\dBizobj.py", line 1289, in getFieldVal return cursor.getFieldVal(fld, row) File "d:\dabo\dabo\db\dCursorMixin.py", line 792, in getFieldVal raise dException.NoRecordsException, _("No records in the data set.") def IsEmptyCell(self, row, col): if row >= self.grid.RowCount: return True bizobj = self.grid.getBizobj() field = self.grid.Columns[col].DataField if bizobj: if field: ##Offending line of code return not bizobj.getFieldVal(field, row) else: return True Larry Long No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.14.4/1057 - Release Date: 10/08/2007 9:04 AM [excessive quoting removed by server] _______________________________________________ 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/!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAafA2fnYuPUOMNFpIYnBEQcKAAAAQAAAAyhOly/[EMAIL PROTECTED]
