johnf wrote:
>>>> What are you not agreeing with, precisely?
>>> I believe the cause of the problem is the parent is at 0 or has no data.
>>> Uwe is saying it is not because of no records in the data set.  I believe
>>> this is wrong.
>>>
>>> In my case the parent was requeried with
>>> where 0=1
>>> This causes the requery to fire the "No records in Data Set" message.  
>>> The requeryChildren is fired but because the parent is at 0/None (don't
>>> recall the actual value) the children are never requeried.
>> Maybe a better way of saying this is
>> "there are no rows in the data set of the parent when the
>> requeryAllChildren is fired"
> 
> def getPK(self):
>               """ Return the value of the PK field."""
>               if self.KeyField is None:
>                       raise dException.dException, _("No key field defined 
> for table: ") + 
> self.DataSource
>               cc = self._CurrentCursor
>               return cc.getFieldVal(cc.KeyField)
> 
> I believe that 
> return cc.getFieldVal(cc.KeyField)
> returns an exception because parent.RowCount =0
> but the app continues to run.
> 
> As I see it the method should return something that will still allow the 
> requeryAllChildren to complete.  As to what I'm not sure.  I will have to 
> leave that to better minds than mine.

John, I and I believe Ed understand this problem; however, what we don't 
understand is whether or not Uwe is having the same or a different 
issue. It sounds like he is seeing his problem whether or not there are 
records in the primary bizobj, so it is probably different, in which 
case you've kind of hijacked his thread. :)



-- 
pkm ~ http://paulmcnett.com


_______________________________________________
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]

Reply via email to