On Tuesday 21 April 2009 11:48:56 am Ed Leafe wrote: > On Apr 21, 2009, at 1:41 PM, johnf wrote: > >> File "/home/johnf/downloads/dabo/dabo/db/dCursorMixin.py", line > >> 2153, in > >> setChildFilter > >> alias = self.sqlManager._fromClause.split()[-1] > >> IndexError: list index out of range > > > > restoring to 5179 all works. Looks like Ed's 5180 broke Dabo > > requery() > > What is your from clause? > > > -- Ed
All my bizobj are in a module and are similar to the following and this one is a child. def initProperties(self): self.DataSource = "public.escourts" def afterInit(self): self.addFrom = "public.escourts" self.addField("fk_esagency") self.addField("court_name") self.addField("address") self.addField("city") self.addField("state_1") self.addField("zip") self.addField("mainphone") self.addField("fax") self.addField("county") self.addField("notify_1") self.addField("note") self.addField("fk_county") self.addField("pkid") self.addField("inactive") self.KeyField = "pkid" self.NonUpdateFields=["pkid"] self.DefaultValues={"state_1":'CA','county':'<None>','fk_county':0} self.ParentLinkField ="pkid" self.LinkField = "fk_esagency" self.FillLinkFromParent = True self.addOrderBy('court_name') -- John Fabiani _______________________________________________ Post Messages to: Dabo-users@leafe.com 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/200904211155.22948.jfabi...@yolo.com