On Friday 24 October 2008 12:42:58 pm Ed Leafe wrote:
> Then have that query executed as part of the bizobj's
> afterRequery(), and store the results locally in the bizobj so that they
> can be
> displayed in your form as needed.
>
>
> -- Ed Leafe
Sounds interesting. And could work. But what about my fix? The dForm really
wants a bizobj anyway and not a bizobj.DataSource.
def moveToRowNumber(self, rowNumber, dataSource=None):
""" Move the record pointer to the specified row."""
if isinstance(dataSource, dabo.biz.dBizobj):
bizobj = dataSource
else:
bizobj = self.getBizobj(dataSource)
if bizobj is None:
# Running in preview or some other non-live mode
return
return self._moveRecordPointer(bizobj.moveToRowNumber,
dataSource=bizobj,
rowNumber=rowNumber)
--
John Fabiani
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]